[ 
https://issues.apache.org/jira/browse/NETBEANS-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ARUNAVA SINHA updated NETBEANS-1969:
------------------------------------
    Description: 
NPE  thrown in Rule-Switch (JDK-12) 

switch (day)

{ case MONDAY->^ }

On pressing Enter key at caret position null pointer exception is thrown

Also there is indentation issue with use of { in switch-rule(case->) and in 

newly introduced Switch Expression in jdk-12  

  was:
NPE  thrown in Rule-Switch (JDK-12) 

switch (day)

{ case MONDAY->^ }

On pressing Enter key at caret position null pointer exception is thrown

Also there is indentation issue with use of { in switch-rule


> Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12)
> --------------------------------------------------------------------------
>
>                 Key: NETBEANS-1969
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1969
>             Project: NetBeans
>          Issue Type: Task
>            Reporter: ARUNAVA SINHA
>            Assignee: ARUNAVA SINHA
>            Priority: Major
>              Labels: NB-JDK12
>
> NPE  thrown in Rule-Switch (JDK-12) 
> switch (day)
> { case MONDAY->^ }
> On pressing Enter key at caret position null pointer exception is thrown
> Also there is indentation issue with use of { in switch-rule(case->) and in 
> newly introduced Switch Expression in jdk-12  



--
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