You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ARUNAVA SINHA (JIRA)" <ji...@apache.org> on 2019/03/29 05:25:00 UTC
[jira] [Resolved] (NETBEANS-1674) NPE thrown while formatting the
switch expression(JDK-12)
[ 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists