JDK 12 RFR of JDK-8208201: Update SourceVersion.RELEASE_11 docs to mention var for lambda param

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Jul 25 19:51:51 UTC 2018


+1

On 07/25/2018 12:46 PM, joe darcy wrote:
> Hello,
>
> Please review the simple fix for
>
>     JDK-8208201: Update SourceVersion.RELEASE_11 docs to mention var 
> for lambda param
>     http://cr.openjdk.java.net/~darcy/8208201.0/
>
> Patch below.
>
> Thanks,
>
> -Joe
>
> --- 
> old/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java 2018-07-25 
> 12:44:12.211000999 -0700
> +++ 
> new/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java 2018-07-25 
> 12:44:12.067000999 -0700
> @@ -57,7 +57,8 @@
>       * 1.8: lambda expressions and default methods
>       *   9: modules, small cleanups to 1.7 and 1.8 changes
>       *  10: local-variable type inference (var)
> -     *  11: to be determined changes
> +     *  11: local-variable syntax for lambda parameters
> +     *  12: TBD
>       */
>
>      /**
> @@ -169,6 +170,9 @@
>       * The version recognized by the Java Platform, Standard Edition
>       * 11.
>       *
> +     * Additions in this release include local-variable syntax for
> +     * lambda parameters.
> +     *
>       * @since 11
>       */
>       RELEASE_11,
>



More information about the compiler-dev mailing list