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

joe darcy joe.darcy at oracle.com
Wed Jan 3 18:32:22 UTC 2018


Hello,

A second iteration for your consideration:

     http://cr.openjdk.java.net/~darcy/8187951.1/

In a specification sense, this iteration of the proposed change just 
documents the existing behavior on the string "var" and tests are added 
to verify that behavior. The handling of "var" is analogous to the 
handling of restricted keywords. (The webrev is generated against JDK 
11, but I'll rebase to JDK 10 before pushing.)

Corresponding CSR for review at:

     https://bugs.openjdk.java.net/browse/JDK-8194523

Thanks,

-Joe




More information about the compiler-dev mailing list