This commit is contained in:
Alexey Kudravtsev
2015-12-03 16:51:25 +03:00
parent 6ddeb7ba3d
commit 562c13f32d
@@ -202,7 +202,7 @@ public final class ObjectTree<T> {
objectNode = objectNode.getParent();
}
final Throwable trace = objectNode.getTrace();
RuntimeException exception = new RuntimeException("Memory leak detected: " + object + " of class " + object.getClass()
RuntimeException exception = new RuntimeException("Memory leak detected: '" + object + "' of " + object.getClass()
+ "\nSee the cause for the corresponding Disposer.register() stacktrace:\n",
trace);
if (throwError) {