-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 14.0.1, 15
-
Component/s: tools
-
b25
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:
jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
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:
jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java