ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/PriorityQueue/ForgetMeNot.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/PriorityQueue/ForgetMeNot.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:20 2010 UTC vs.
Revision 1.3 by jsr166, Mon Sep 27 19:15:15 2010 UTC

# Line 146 | Line 146 | public class ForgetMeNot {
146          try {realMain(args);} catch (Throwable t) {unexpected(t);}
147          System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
148          if (failed > 0) throw new AssertionError("Some tests failed");}
149 <    private static abstract class Fun {abstract void f() throws Throwable;}
149 >    private abstract static class Fun {abstract void f() throws Throwable;}
150      static void THROWS(Class<? extends Throwable> k, Fun... fs) {
151          for (Fun f : fs)
152              try { f.f(); fail("Expected " + k.getName() + " not thrown"); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines