Use Log.dumpStack() where the Java source used Thread.dumpStack().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4633 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -118,6 +118,7 @@ public class SafeSubscriber implements Subscriber
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
log.warning("Inactive safesub asked to unsubscribe " + this + ".");
|
log.warning("Inactive safesub asked to unsubscribe " + this + ".");
|
||||||
|
Log.dumpStack();
|
||||||
}
|
}
|
||||||
|
|
||||||
// note that we no longer desire to be subscribed
|
// note that we no longer desire to be subscribed
|
||||||
@@ -128,6 +129,7 @@ public class SafeSubscriber implements Subscriber
|
|||||||
if (_object != null) {
|
if (_object != null) {
|
||||||
log.warning("Incroyable! A safesub has an object and is " +
|
log.warning("Incroyable! A safesub has an object and is " +
|
||||||
"pending!? " + this + ".");
|
"pending!? " + this + ".");
|
||||||
|
Log.dumpStack();
|
||||||
} else {
|
} else {
|
||||||
// nothing to do but wait for the subscription to complete
|
// nothing to do but wait for the subscription to complete
|
||||||
// at which point we'll pitch the object post-haste
|
// at which point we'll pitch the object post-haste
|
||||||
@@ -139,6 +141,7 @@ public class SafeSubscriber implements Subscriber
|
|||||||
if (_object == null) {
|
if (_object == null) {
|
||||||
log.warning("Zut alors! A safesub _was_ active and not " +
|
log.warning("Zut alors! A safesub _was_ active and not " +
|
||||||
"pending yet has no object!? " + this + ".");
|
"pending yet has no object!? " + this + ".");
|
||||||
|
Log.dumpStack();
|
||||||
// nothing to do since we're apparently already unsubscribed
|
// nothing to do since we're apparently already unsubscribed
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user