JDK 14 RFR of JDK-8233096: Update javax.lang.model for switch expressions

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Nov 14 00:30:12 UTC 2019


Just curious does it mean that now it is possible to use "switch expressions"
in the libraries of the JDK itself? or we need to wait JDK 15?

On 10/29/19 9:58 am, Joe Darcy wrote:
> Hello,
> 
> After switch expressions are added as a full non-preview feature (JDK-8232684), portions of javax.lang.model should be updated accordingly, including the description of SourceVersion.RELEASE_14.
> 
> Please review the changes for this:
> 
>      http://cr.openjdk.java.net/~darcy/8233096.0/
> 
> Thanks,
> 
> -Joe
> 


-- 
Best regards, Sergey.


More information about the compiler-dev mailing list