1.1 --- a/test/tools/javac/parser/JavacParserTest.java Fri May 04 07:55:51 2012 -0700 1.2 +++ b/test/tools/javac/parser/JavacParserTest.java Thu May 10 12:32:58 2012 -0700 1.3 @@ -23,7 +23,7 @@ 1.4 1.5 /* 1.6 * @test 1.7 - * @bug 7073631 1.8 + * @bug 7073631 7159445 1.9 * @summary tests error and diagnostics positions 1.10 * @author Jan Lahoda 1.11 */ 1.12 @@ -875,6 +875,7 @@ 1.13 testMissingClassError(); 1.14 testSwitchError(); 1.15 testMethodError(); 1.16 + testErrorRecoveryForEnhancedForLoop142381(); 1.17 } 1.18 1.19 public static void main(String... args) throws IOException { 1.20 @@ -892,8 +893,10 @@ 1.21 } 1.22 } 1.23 1.24 - void assertFalse(String message, boolean empty) { 1.25 - throw new UnsupportedOperationException("Not yet implemented"); 1.26 + void assertFalse(String message, boolean bvalue) { 1.27 + if (bvalue == true) { 1.28 + fail(message); 1.29 + } 1.30 } 1.31 1.32 void assertEquals(String message, int i, long l) {