Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
11.2
-
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
- is part of
-
NETBEANS-2917 Support for Yield in Switch-Expression for JDK-13
- Closed