hg: jdk8/tl/langtools: 7156633: (javac) incorrect errors when parsing variable declaration in block statements.

kumar.x.srinivasan at oracle.com kumar.x.srinivasan at oracle.com
Mon Apr 9 16:25:13 PDT 2012


Changeset: 9c429f38ca7e
Author:    ksrini
Date:      2012-04-09 14:31 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/9c429f38ca7e

7156633: (javac) incorrect errors when parsing variable declaration in block statements.
Reviewed-by: jjg
Contributed-by: jan.lahoda at oracle.com

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/IllegalStartOfStmt.java
+ test/tools/javac/diags/examples/NotAllowedClass.java
+ test/tools/javac/diags/examples/NotAllowedVariable.java
! test/tools/javac/parser/JavacParserTest.java




More information about the security-dev mailing list