summaryrefslogtreecommitdiffstats
path: root/test/030-bad-finalizer/info.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/030-bad-finalizer/info.txt')
-rw-r--r--test/030-bad-finalizer/info.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/030-bad-finalizer/info.txt b/test/030-bad-finalizer/info.txt
new file mode 100644
index 0000000000..26f499376e
--- /dev/null
+++ b/test/030-bad-finalizer/info.txt
@@ -0,0 +1,15 @@
+The finalizer for this class never finishes. Dalvik is expected to detect
+this situation and abort the VM (so you will likely see a stacktrace like
+the following in the log output).
+
+java.util.concurrent.TimeoutException
+ at java.lang.VMThread.sleep(Native Method)
+ at java.lang.Thread.sleep(Thread.java:1031)
+ at java.lang.Thread.sleep(Thread.java:1013)
+ at BadFinalizer.snooze(BadFinalizer.java:9)
+ at BadFinalizer.finalize(BadFinalizer.java:29)
+ at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:182)
+ at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:168)
+ at java.lang.Thread.run(Thread.java:856)
+Calling exit(2)
+