[
https://issues.apache.org/jira/browse/NETBEANS-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732045#comment-16732045
]
Reema Taneja commented on NETBEANS-1676:
----------------------------------------
This issue is fixed in latest builds with
https://github.com/apache/incubator-netbeans/pull/997
> Syntax highlighting issue in switch expression
> ----------------------------------------------
>
> Key: NETBEANS-1676
> URL: https://issues.apache.org/jira/browse/NETBEANS-1676
> Project: NetBeans
> Issue Type: Bug
> Reporter: ARUNAVA SINHA
> Assignee: ARUNAVA SINHA
> Priority: Major
> Labels: NB-JDK12
>
> enum Days{
> SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY;
> }
> public static void main(String[] args) {
> Days day = Days.SUNDAY;
> int j = switch (day) {
> case *MONDAY*, SUNDAY-> 6;
> default -> 0;
> }
> };
> The enum element 'SUNDAY' should be highlighted.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists