[
https://issues.apache.org/jira/browse/NETBEANS-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ARUNAVA SINHA resolved NETBEANS-1674.
-------------------------------------
Resolution: Fixed
fix was provided in
https://issues.apache.org/jira/browse/NETBEANS-1780
> NPE thrown while formatting the switch expression(JDK-12)
> ---------------------------------------------------------
>
> Key: NETBEANS-1674
> URL: https://issues.apache.org/jira/browse/NETBEANS-1674
> Project: NetBeans
> Issue Type: Bug
> Reporter: ARUNAVA SINHA
> Assignee: ARUNAVA SINHA
> Priority: Major
> Labels: NB-JDK12
>
> switch (day) {
> case MONDAY, FRIDAY, SUNDAY -> System.out.println(6);
> case TUESDAY -> System.out.println(7);
> case THURSDAY, SATURDAY -> System.out.println(8);
> case WEDNESDAY -> System.out.println(9);
> }
> On trying to format this switch-case code, Null pointer exception is being
> thrown
--
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