diff options
| author | 2012-03-01 10:16:45 -0800 | |
|---|---|---|
| committer | 2012-03-01 10:16:45 -0800 | |
| commit | 79686a02c512d9cde16a40f70df8ce4a52606754 (patch) | |
| tree | 7b5cd3bb00cd21e4ac4587d65c2672fd227eca20 /test/084-class-init/src/Main.java | |
| parent | 31a4a6f5717f645da6b97ccc1e420ae1e1c71ce0 (diff) | |
Fix the expectations for test 084.
I added a new part to the test, but only ran it in --dev mode, which doesn't
check the expectations, which I forgot to update. Also make naming and comment
improvements.
Change-Id: Ie2cac9f3b0837eda4a821d972f72c96e0316337a
Diffstat (limited to 'test/084-class-init/src/Main.java')
| -rw-r--r-- | test/084-class-init/src/Main.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/084-class-init/src/Main.java b/test/084-class-init/src/Main.java index 4ca2dbcba8..f551dc5440 100644 --- a/test/084-class-init/src/Main.java +++ b/test/084-class-init/src/Main.java @@ -16,12 +16,12 @@ public class Main { static { - staticMethod(); + staticMethodCalledByClinit(); } - private static void staticMethod() { - // Test that DeliverException works when the handler -- this method -- is currently a - // resolution stub because it's running on behalf of <clinit>. + private static void staticMethodCalledByClinit() { + // Test that DeliverException works when we need to unwind to a handler -- this method -- + // that is currently a resolution stub because it's running on behalf of <clinit>. try { throwDuringClinit(); System.err.println("didn't throw!"); |