Arunava Sinha created NETBEANS-4391:
---------------------------------------

             Summary: Scope is wrong for ClassTree representing record in JDK-14
                 Key: NETBEANS-4391
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4391
             Project: NetBeans
          Issue Type: Bug
          Components: cnd - Editor
    Affects Versions: Next
            Reporter: Arunava Sinha
            Assignee: Arunava Sinha


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to