Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Next
-
None
Description
This is an issue observed in new RECORD feature that's added
e.g.
record Rec<X, Y>( | ) { }
When trying to retrieve the scope inside the record at position marked by '|'.
Expecting X,Y to be the part of the scope, but the scope doesn't return those elements.
Maybe there is a change needed in nb-javac :
jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
Issue is also present in jdk-14 javac and is already reported there. Fix will be available in jdk-15 release