[security-dev 01513]: hg: jdk7/tl/langtools: 6472751: SourcePositions.getStartPos returns incorrect value for enum constants; ...

jonathan.gibbons at sun.com jonathan.gibbons at sun.com
Wed Jan 13 17:40:51 PST 2010


Changeset: ccd51af119b4
Author:    jjg
Date:      2010-01-13 17:39 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/ccd51af119b4

6472751: SourcePositions.getStartPos returns incorrect value for enum constants
6567414: javac compiler reports no source file or line on enum constant declaration error
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/T6472751.java
+ test/tools/javac/T6567414.java
+ test/tools/javac/T6567414.out




More information about the security-dev mailing list