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

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


A second iteration for your consideration:

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:



More information about the compiler-dev mailing list