hg: lambda/lambda/langtools: Conformance fix: adjust parsing of '_' as an identifier

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Jan 8 04:32:48 PST 2013


Changeset: 2e8ccb7ba243
Author:    mcimadamore
Date:      2013-01-08 13:31 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/2e8ccb7ba243

Conformance fix: adjust parsing of '_' as an identifier
*) '_' cannot be used as a lambda parameter name
*) use of '_' as an identifier will cause compile-time warnings

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/parser/Tokens.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/diags/examples.not-yet.txt
! test/tools/javac/lambda/LambdaParserTest.java
+ test/tools/javac/lambda/WarnUnderscoreAsIdent.java
+ test/tools/javac/lambda/WarnUnderscoreAsIdent.out



More information about the lambda-dev mailing list