Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1969

Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12)

    XMLWordPrintableJSON

Details

    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  

      Attachments

        Issue Links

          Activity

            People

              arunava.sinha ARUNAVA SINHA
              arunava.sinha ARUNAVA SINHA
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m