JDK 10 RFR of JDK-8193489: Add information about local variable type inference to SourceVersion.RELEASE_10

mark.reinhold at oracle.com mark.reinhold at oracle.com
Thu Dec 14 03:39:31 UTC 2017


2017/12/13 19:17:56 -0800, joe.darcy at oracle.com:
> The javadoc for the enum constants in javax.lang.model.SourceVersion 
> have short informative descriptions of the languages changes in each 
> release. The text for SourceVersion.RELEASE_10 should be updated to 
> mention local variable type inference (var).
> 
> Please review the patch below which adds this text.

-     *  10: to-be-determined changes
+     *  10: local variable type inference (var)

+     * Additions in this release include local variable type inference

In both hunks use "local-variable type" (as in the name of its JEP, 286)
so as to distinguish it from "local variable-type".

Otherwise, looks good.

- Mark


More information about the compiler-dev mailing list