diff -r d10db3576c08 -r 833bab705918 test/tools/javac/parser/JavacParserTest.java --- a/test/tools/javac/parser/JavacParserTest.java Fri May 04 07:55:51 2012 -0700 +++ b/test/tools/javac/parser/JavacParserTest.java Thu May 10 12:32:58 2012 -0700 @@ -23,7 +23,7 @@ /* * @test - * @bug 7073631 + * @bug 7073631 7159445 * @summary tests error and diagnostics positions * @author Jan Lahoda */ @@ -875,6 +875,7 @@ testMissingClassError(); testSwitchError(); testMethodError(); + testErrorRecoveryForEnhancedForLoop142381(); } public static void main(String... args) throws IOException { @@ -892,8 +893,10 @@ } } - void assertFalse(String message, boolean empty) { - throw new UnsupportedOperationException("Not yet implemented"); + void assertFalse(String message, boolean bvalue) { + if (bvalue == true) { + fail(message); + } } void assertEquals(String message, int i, long l) {