[ https://issues.apache.org/jira/browse/NETBEANS-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reema Taneja closed NETBEANS-1676. ---------------------------------- Resolution: Fixed Fix Version/s: Next > 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 > Fix For: Next > > > 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: 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