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

Issue in ErrorHint :DifferentCaseKindsFix with JDK-13

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.2
    • 11.2
    • java - Hints
    • None

    Description

      Java Hint: DifferentCaseKindsFix is  not working with JDK-13

      TestCase:

      a = switch (a)

      { case 1 -> 10; default: break 20; }

      ;

      below error is displayed:

      java.lang.AbstractMethodError: Receiver class org.netbeans.api.java.source.WorkingCopy$5 does not define or inherit an implementation of the resolved method 'abstract java.lang.Object visitYield(com.sun.source.tree.YieldTree, java.lang.Object)' of interface com.sun.source.tree.TreeVisitor.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: