ARUNAVA SINHA created NETBEANS-1674:
---------------------------------------

             Summary: NPE thrown while formatting the switch expression
                 Key: NETBEANS-1674
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1674
             Project: NetBeans
          Issue Type: Bug
            Reporter: ARUNAVA SINHA
            Assignee: ARUNAVA SINHA


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

Reply via email to