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

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Oct 29 17:09:35 UTC 2019


Although not modified, is this line in the test as intended?

137             throw new RuntimeException("Unexpected " + message +  "-ness of _ on " + version);

The reference to "_" seems unexpected.

-- Jon

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20191029/9e22d949/attachment.html>


More information about the compiler-dev mailing list