changeset 48329:984c4b99afc9

8193489: Add information about local variable type inference to SourceVersion.RELEASE_10 Reviewed-by: sundar, mr
author darcy
date Wed, 13 Dec 2017 19:48:03 -0800
parents 7acf5700d542
children e8230b52a8f4
files src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java	Wed Dec 13 18:47:20 2017 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java	Wed Dec 13 19:48:03 2017 -0800
@@ -56,7 +56,7 @@
      * 1.7: diamond syntax, try-with-resources, etc.
      * 1.8: lambda expressions and default methods
      *   9: modules, small cleanups to 1.7 and 1.8 changes
-     *  10: to-be-determined changes
+     *  10: local-variable type inference (var)
      */
 
     /**
@@ -157,6 +157,9 @@
      * The version recognized by the Java Platform, Standard Edition
      * 10.
      *
+     * Additions in this release include local-variable type inference
+     * ({@code var}).
+     *
      * @since 10
      */
      RELEASE_10;