hg: jdk7/tl/langtools: 7014734: Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources

joe.darcy at oracle.com joe.darcy at oracle.com
Tue Feb 1 03:07:21 UTC 2011


Changeset: 2ab47c4cd618
Author:    darcy
Date:      2011-01-31 19:06 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/2ab47c4cd618

7014734: Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/TryWithResources/BadTwrSyntax.java
! test/tools/javac/TryWithResources/BadTwrSyntax.out
- test/tools/javac/diags/examples/TryResourceTrailingSemi.java




More information about the security-dev mailing list