Interim JDK 10 RFR of 8187951: Update javax.lang.model.SourceVersion for "var" name

joe darcy joe.darcy at oracle.com
Wed Sep 27 22:51:19 UTC 2017


Hello,

Please review the in-progress work on

     8187951: Update javax.lang.model.SourceVersion for "var" name
     http://cr.openjdk.java.net/~darcy/8187951.0/

I'm not 100% certain of the desired semantics here. The handling of 
"var" doesn't align with any of the existing syntactic constructs, 
including restricted keywords introduced in 9 with modules.

The proposal changes gives the "isName" method the semantics of "can I 
use this qualified name for a type, field, package, or module."

Thanks,

-Joe



More information about the compiler-dev mailing list