--- jsr166/src/test/jtreg/util/PriorityQueue/ForgetMeNot.java 2010/09/05 21:32:20 1.2 +++ jsr166/src/test/jtreg/util/PriorityQueue/ForgetMeNot.java 2010/09/27 19:15:15 1.3 @@ -146,7 +146,7 @@ public class ForgetMeNot { try {realMain(args);} catch (Throwable t) {unexpected(t);} System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); if (failed > 0) throw new AssertionError("Some tests failed");} - private static abstract class Fun {abstract void f() throws Throwable;} + private abstract static class Fun {abstract void f() throws Throwable;} static void THROWS(Class k, Fun... fs) { for (Fun f : fs) try { f.f(); fail("Expected " + k.getName() + " not thrown"); }