[ 
https://issues.apache.org/jira/browse/NETBEANS-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093826#comment-17093826
 ] 

Geertjan Wielenga commented on NETBEANS-4263:
---------------------------------------------

You’re using a beta release of Apache NetBeans 12.0. I’m saying nb-javac is not 
ready yet for 12.0. Uninstall it and since you’re running on JDK 14, the javac 
from the JDK will then be used. If you can fo without nb-javac, that would be 
preferable.

> Switch expressions are a standard feature in JDK 14
> ---------------------------------------------------
>
>                 Key: NETBEANS-4263
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4263
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Editor
>    Affects Versions: 12.0
>            Reporter: Anthony Vanelverdinghe
>            Priority: Major
>         Attachments: image-2020-04-27-20-20-02-850.png
>
>
> The editor complains about switch expressions being a preview feature, but as 
> of JDK 14 they're a standard feature, so this error is wrong. This is in a 
> Maven project with everything set to JDK 14.
>  
> !image-2020-04-27-20-20-02-850.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to