From 79686a02c512d9cde16a40f70df8ce4a52606754 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 1 Mar 2012 10:16:45 -0800 Subject: 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 --- test/084-class-init/src/Main.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/084-class-init/src/Main.java') 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 . + 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 . try { throwDuringClinit(); System.err.println("didn't throw!"); -- cgit v1.2.3-59-g8ed1b