You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Arunava Sinha (Jira)" <ji...@apache.org> on 2020/06/12 07:40:00 UTC
[jira] [Commented] (NETBEANS-4391) Scope is wrong for ClassTree
representing record in JDK-14
[ https://issues.apache.org/jira/browse/NETBEANS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17134020#comment-17134020 ]
Arunava Sinha commented on NETBEANS-4391:
-----------------------------------------
Issue is fixed in nb-javac , will bw available in nb-javac for jdk-14
> 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
> Priority: Major
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists