[jira] [Created] (NETBEANS-5003) Exception thrown while using 'pattern matching instance of' finalization in JDK16.
Akhilesh Singh created NETBEANS-5003: Summary: Exception thrown while using 'pattern matching instance of' finalization in JDK16. Key: NETBEANS-5003 URL: https://issues.apache.org/jira/browse/NETBEANS-5003 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: Product Version: Apache NetBeans IDE DEV (Build dev-0b4f99558376e32461217a83611de4d0787b6ad9) Java: 16-internal; Java HotSpot(TM) 64-Bit Server VM 16-internal+0-2020-10-29-1334179 Runtime: Java(TM) SE Runtime Environment 16-internal+0-2020-10-29-1334179 System: Windows 10 version 10.0 running on amd64; Cp1252; en_IN (nb) User directory: C:\projects\netbeans\main1\netbeans\nbbuild\testuserdir Cache directory: C:\projects\netbeans\main1\netbeans\nbbuild\testuserdir\var\cache Reporter: Akhilesh Singh Write below code on java editor and save - {{public class PatternMatchingFinalizationTest {}}{{/**}} {{ * @param args the command line arguments}} {{ */}} {{ public static void main(String[] args) {}} {{ // TODO code application logic here }} {{ Object o = new String("Hello Java ");}} {{ if(o instanceof String s){}} {{ System.out.println(s);}} {{ }}} {{ }}} {{}}} --- Below exception thrown on editor - java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "org.netbeans.modules.java.editor.base.semantic.TreeShims.getBinding(com.sun.source.tree.Tree)" is nulljava.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "org.netbeans.modules.java.editor.base.semantic.TreeShims.getBinding(com.sun.source.tree.Tree)" is null at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1017) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at jdk.compiler/com.sun.source.util.TreeScanner.visitInstanceOf(TreeScanner.java:677) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCInstanceOf.accept(JCTree.java:2178) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at jdk.compiler/com.sun.source.util.TreeScanner.visitParenthesized(TreeScanner.java:595) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1970) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at jdk.compiler/com.sun.source.util.TreeScanner.visitIf(TreeScanner.java:441) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1513) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:254) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1059) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighte
[jira] [Created] (NETBEANS-5008) Support finalization of "Pattern matching instance of" JDK16
Akhilesh Singh created NETBEANS-5008: Summary: Support finalization of "Pattern matching instance of" JDK16 Key: NETBEANS-5008 URL: https://issues.apache.org/jira/browse/NETBEANS-5008 Project: NetBeans Issue Type: Improvement Components: java - Editor, java - Hints Environment: JDK 16 all OS versions Reporter: Akhilesh Singh -- 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
[jira] [Assigned] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5069: Assignee: Akhilesh Singh (was: Akshay Gupta) > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-18-45-54-202.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-18-46-46-572.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-18-47-57-876.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-18-50-15-153.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, image-2021-01-11-18-50-15-153.png, > lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-18-54-02-495.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, image-2021-01-11-18-50-15-153.png, > image-2021-01-11-18-54-02-495.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-18-57-31-301.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, image-2021-01-11-18-50-15-153.png, > image-2021-01-11-18-54-02-495.png, image-2021-01-11-18-57-31-301.png, > lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-19-09-26-260.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, image-2021-01-11-18-50-15-153.png, > image-2021-01-11-18-54-02-495.png, image-2021-01-11-18-57-31-301.png, > image-2021-01-11-19-09-26-260.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: image-2021-01-11-19-11-33-670.png > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, image-2021-01-11-18-50-15-153.png, > image-2021-01-11-18-54-02-495.png, image-2021-01-11-18-57-31-301.png, > image-2021-01-11-19-09-26-260.png, image-2021-01-11-19-11-33-670.png, > lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Commented] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262652#comment-17262652 ] Akhilesh Singh commented on NETBEANS-5069: -- After analysis and complete investigation found the issue is with the latest release of lombok(i.e. 1.18.16), this release unable to resolve the correct owner-kind for any variable(defined by the annotation @RequiredArgsConstructor and @setter) on the fly. *Problematic area* Consider the below code snippet {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_}_{color} Will convert to the following after process the annotation @Setter {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_void setId(final Integer id){_{color} {color:#0747a6}_this.setId = id;_{color} {color:#0747a6}_}_{color} {color:#0747a6}_}_{color} As per the compilation process, the owner for the method param variable "final Integer id" is the method "setId" of type MTH. But lombok(1.18.16) considering this as a null of type NIL. PFB screenshots !image-2021-01-11-18-50-15-153.png! !image-2021-01-11-18-54-02-495.png! Due to the problem of incorrect owner-kind(NIL) the variable "final Integer id" is not trackable via nbjavac-15 and its setting the address -1 for this variable. And the compilation of class *Bean* is not successful. The classes that's uses the Bean class showing compilation error. The example attached in this defect used @RequiredArgsConstructor annotation, for this owner-kind for the variable "final Integer id" is Constructor of type MTH coming as a NIL. Same is not happening with the lombok versions below 1.18.16. Below analysis performed using lombok 1.18.12 !image-2021-01-11-19-09-26-260.png! !image-2021-01-11-19-11-33-670.png! As lombok 1.18.12 processing the annotation @Setter correctly the owner-kind as MTH for the variable "final Integer id", so there is no problem with the compilation. Tested some other annotations also like @Getter and @toString that's working fine with this version 1.18.16 because there no parameter required to pass for the method signature *getId(){}* & *toString(){},* so no owner-kind variable concept exist here. > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-45-54-202.png, image-2021-01-11-18-46-46-572.png, > image-2021-01-11-18-47-57-876.png, image-2021-01-11-18-50-15-153.png, > image-2021-01-11-18-54-02-495.png, image-2021-01-11-18-57-31-301.png, > image-2021-01-11-19-09-26-260.png, image-2021-01-11-19-11-33-670.png, > lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Comment Edited] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262652#comment-17262652 ] Akhilesh Singh edited comment on NETBEANS-5069 at 1/11/21, 2:01 PM: After analysis and complete investigation found the issue is with the latest release of lombok(i.e. 1.18.16), this release unable to resolve the correct owner-kind for any variable(defined by the annotation @RequiredArgsConstructor and @setter) on the fly. *Problematic area* Consider the below code snippet {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_}_{color} Will convert to the following after process the annotation @Setter {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_void setId(final Integer id){_{color} {color:#0747a6}_this.setId = id;_{color} {color:#0747a6}_}_{color} {color:#0747a6}_}_{color} As per the compilation process, the owner for the method param variable "final Integer id" is the method "setId" of type MTH. But lombok(1.18.16) processing this as a null of type NIL. PFB screenshots !image-2021-01-11-18-50-15-153.png! !image-2021-01-11-18-54-02-495.png! Due to the problem of incorrect owner-kind(NIL) the variable "final Integer id" is not trackable via nbjavac-15 and its setting the address -1 for this variable. And the compilation of class *Bean* is not successful. The classes that's uses the Bean class showing compilation error. The example attached in this defect used @RequiredArgsConstructor annotation, for this owner-kind for the variable "final Integer id" is Constructor of type MTH coming as a NIL. Same is not happening with the lombok versions below 1.18.16. Below analysis performed using lombok 1.18.12 !image-2021-01-11-19-09-26-260.png! !image-2021-01-11-19-11-33-670.png! As lombok 1.18.12 processing the annotation @Setter correctly the owner-kind as MTH for the variable "final Integer id", so there is no problem with the compilation. Tested some other annotations also like @Getter and @toString that's working fine with this version 1.18.16 because there no parameter required to pass for the method signature *getId(){}* & *toString(){},* so no owner-kind variable concept exist here. was (Author: singh-akhilesh): After analysis and complete investigation found the issue is with the latest release of lombok(i.e. 1.18.16), this release unable to resolve the correct owner-kind for any variable(defined by the annotation @RequiredArgsConstructor and @setter) on the fly. *Problematic area* Consider the below code snippet {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_}_{color} Will convert to the following after process the annotation @Setter {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_void setId(final Integer id){_{color} {color:#0747a6}_this.setId = id;_{color} {color:#0747a6}_}_{color} {color:#0747a6}_}_{color} As per the compilation process, the owner for the method param variable "final Integer id" is the method "setId" of type MTH. But lombok(1.18.16) considering this as a null of type NIL. PFB screenshots !image-2021-01-11-18-50-15-153.png! !image-2021-01-11-18-54-02-495.png! Due to the problem of incorrect owner-kind(NIL) the variable "final Integer id" is not trackable via nbjavac-15 and its setting the address -1 for this variable. And the compilation of class *Bean* is not successful. The classes that's uses the Bean class showing compilation error. The example attached in this defect used @RequiredArgsConstructor annotation, for this owner-kind for the variable "final Integer id" is Constructor of type MTH coming as a NIL. Same is not happening with the lombok versions below 1.18.16. Below analysis performed using lombok 1.18.12 !image-2021-01-11-19-09-26-260.png! !image-2021-01-11-19-11-33-670.png! As lombok 1.18.12 processing the annotation @Setter correctly the owner-kind as MTH for the variable "final Integer id", so there is no problem with the compilation. Tested some other annotations also like @Getter and @toString that's working fine with this version 1.18.16 because there
[jira] [Comment Edited] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262652#comment-17262652 ] Akhilesh Singh edited comment on NETBEANS-5069 at 1/11/21, 2:31 PM: After analysis and complete investigation found the issue is with the latest release of lombok(i.e. 1.18.16), this release unable to resolve the correct owner-kind for any variable(defined by the annotation @RequiredArgsConstructor and @setter) on the fly. *Problematic area* Consider the below code snippet {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_}_{color} Will convert to the following after process the annotation @Setter {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_void setId(final Integer id){_{color} {color:#0747a6}_this.id = id;_{color} {color:#0747a6}_}_{color} {color:#0747a6}_}_{color} As per the compilation process, the owner for the method param variable "final Integer id" is the method "setId" of type MTH. But lombok(1.18.16) processing this as a null of type NIL. PFB screenshots !image-2021-01-11-18-50-15-153.png! !image-2021-01-11-18-54-02-495.png! Due to the problem of incorrect owner-kind(NIL) the variable "final Integer id" is not trackable via nbjavac-15 and its setting the address -1 for this variable. And the compilation of class *Bean* is not successful. The classes that's uses the Bean class showing compilation error. The example attached in this defect used @RequiredArgsConstructor annotation, for this owner-kind for the variable "final Integer id" is Constructor of type MTH coming as a NIL. Same is not happening with the lombok versions below 1.18.16. Below analysis performed using lombok 1.18.12 !image-2021-01-11-19-09-26-260.png! !image-2021-01-11-19-11-33-670.png! As lombok 1.18.12 processing the annotation @Setter correctly the owner-kind as MTH for the variable "final Integer id", so there is no problem with the compilation. Tested some other annotations also like @Getter and @toString that's working fine with this version 1.18.16 because there no parameter required to pass for the method signature *getId(){}* & *toString(){},* so no owner-kind variable concept exist here. was (Author: singh-akhilesh): After analysis and complete investigation found the issue is with the latest release of lombok(i.e. 1.18.16), this release unable to resolve the correct owner-kind for any variable(defined by the annotation @RequiredArgsConstructor and @setter) on the fly. *Problematic area* Consider the below code snippet {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_}_{color} Will convert to the following after process the annotation @Setter {color:#0747a6}_package net.ponec.junitlombok;_{color} {color:#0747a6}_import lombok.Setter;_{color} {color:#0747a6} _@Setter_ {color} {color:#0747a6}_public class Bean {_{color} {color:#0747a6} _private Integer id;_{color} {color:#0747a6}_void setId(final Integer id){_{color} {color:#0747a6}_this.setId = id;_{color} {color:#0747a6}_}_{color} {color:#0747a6}_}_{color} As per the compilation process, the owner for the method param variable "final Integer id" is the method "setId" of type MTH. But lombok(1.18.16) processing this as a null of type NIL. PFB screenshots !image-2021-01-11-18-50-15-153.png! !image-2021-01-11-18-54-02-495.png! Due to the problem of incorrect owner-kind(NIL) the variable "final Integer id" is not trackable via nbjavac-15 and its setting the address -1 for this variable. And the compilation of class *Bean* is not successful. The classes that's uses the Bean class showing compilation error. The example attached in this defect used @RequiredArgsConstructor annotation, for this owner-kind for the variable "final Integer id" is Constructor of type MTH coming as a NIL. Same is not happening with the lombok versions below 1.18.16. Below analysis performed using lombok 1.18.12 !image-2021-01-11-19-09-26-260.png! !image-2021-01-11-19-11-33-670.png! As lombok 1.18.12 processing the annotation @Setter correctly the owner-kind as MTH for the variable "final Integer id", so there is no problem with the compilation. Tested some other annotations also like @Getter and @toString that's working fine with this version 1.18.16 because there
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: (was: image-2021-01-11-18-45-54-202.png) > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-46-46-572.png, image-2021-01-11-18-47-57-876.png, > image-2021-01-11-18-50-15-153.png, image-2021-01-11-18-54-02-495.png, > image-2021-01-11-18-57-31-301.png, image-2021-01-11-19-09-26-260.png, > image-2021-01-11-19-11-33-670.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: (was: image-2021-01-11-18-47-57-876.png) > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-50-15-153.png, image-2021-01-11-18-54-02-495.png, > image-2021-01-11-18-57-31-301.png, image-2021-01-11-19-09-26-260.png, > image-2021-01-11-19-11-33-670.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Updated] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5069: - Attachment: (was: image-2021-01-11-18-46-46-572.png) > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-50-15-153.png, image-2021-01-11-18-54-02-495.png, > image-2021-01-11-18-57-31-301.png, image-2021-01-11-19-09-26-260.png, > image-2021-01-11-19-11-33-670.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Commented] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263119#comment-17263119 ] Akhilesh Singh commented on NETBEANS-5069: -- There is nothing that can be fixed in the nbjavac, so closing this defect. > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-50-15-153.png, image-2021-01-11-18-54-02-495.png, > image-2021-01-11-18-57-31-301.png, image-2021-01-11-19-09-26-260.png, > image-2021-01-11-19-11-33-670.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Closed] (NETBEANS-5069) Wrong rendering of Lombok classes
[ https://issues.apache.org/jira/browse/NETBEANS-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh closed NETBEANS-5069. Resolution: Fixed > Wrong rendering of Lombok classes > - > > Key: NETBEANS-5069 > URL: https://issues.apache.org/jira/browse/NETBEANS-5069 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Product Version: Apache NetBeans IDE 12.1 > Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS > Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS > System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb) > openjdk version "11.0.8" 2020-07-14 LTS > OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS) > OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed > mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.1 LTS > Release: 20.04 > Codename: focal >Reporter: Paul Ponec >Assignee: Akhilesh Singh >Priority: Critical > Attachments: JUnitLombok.zip, Snímek > obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, > VirtualBox_2020-12-10_nb12-about.png, VirtualBox_2020-12-10_nb12-about.png, > VirtualBox_2020-12-10_nb12-bug.png, VirtualBox_2020-12-10_nb12-bug.png, > image-2021-01-11-18-50-15-153.png, image-2021-01-11-18-54-02-495.png, > image-2021-01-11-18-57-31-301.png, image-2021-01-11-19-09-26-260.png, > image-2021-01-11-19-11-33-670.png, lombok.png > > > The IDE displays false errors in classes affected by Lombok framework. I have > attached a screenshot and a sample project. Although it might seem that this > is only a cosmetic mistake, the NetBeans is practically unusable on larger > projects, and this situation has forced me to temporarily switch to competing > IDE. -- 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
[jira] [Created] (NETBEANS-5784) Unable to create/open java projects (ant & maven based) in JDK-17
Akhilesh Singh created NETBEANS-5784: Summary: Unable to create/open java projects (ant & maven based) in JDK-17 Key: NETBEANS-5784 URL: https://issues.apache.org/jira/browse/NETBEANS-5784 Project: NetBeans Issue Type: Bug Components: java - Project Affects Versions: 12.4 Environment: *Java:* 17-ea; OpenJDK 64-Bit Server VM 17-ea+26-2439 *Runtime:* OpenJDK Runtime Environment 17-ea+26-2439 *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_IN (nb) Reporter: Akhilesh Singh Assignee: Akhilesh Singh Launch NetBeans IDE using JDK-17.PFB steps: Steps: # ant tryme -Dtryme.jdkhome= # Create ant or maven based project Exception: [exec] SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.openide.WizardDescriptor$Listener$2$1 [exec] java.lang.NoSuchMethodError: 'void com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' [exec] at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55) [exec] at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40) [exec] at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) [exec] at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) [exec] at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149) [exec] at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234) [exec] at jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120) [exec] at jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112) [exec] at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190) [exec] at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992) [exec] at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839) [exec] at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428) [exec] at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:410) [exec] at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:395) [exec] at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) [exec] at org.netbeans.modules.java.source.JavaSourceUtilImpl$1.resolveModule(JavaSourceUtilImpl.java:324) [exec] at org.netbeans.modules.java.preprocessorbridge.api.ModuleUtilities.resolveModule(ModuleUtilities.java:104) [exec] at org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:883) [exec] at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) [exec] at org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) [exec] at org.netbeans.api.java.classpath.ClassPath$SPIListener.propertyChange(ClassPath.java:1343) [exec] at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) [exec] at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) [exec] at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) [exec] at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268) [exec] at org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.propertyChange(MuxClassPathImplementation.java:127) [exec] at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) [exec] at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) [exec] at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) [exec] at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268) [exec] at org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl$SourceLevelSelector.propertyChange(ClassPathProviderImpl.java:1575) [exec] at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) [exec] at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) [exec] at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) [exec] at org.netbeans.spi.project.support.ant.SequentialPropertyEvaluator.stateChanged(SequentialPropertyEvaluator.java:185) [exec] at org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331) [exec] at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108) [exec] at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94) [exec] at org.netbeans.spi.project.support.ant.ProjectProperties$PP$2.
[jira] [Updated] (NETBEANS-5784) Unable to create/open java projects as removal of Deprecated constructor in JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5784: - Summary: Unable to create/open java projects as removal of Deprecated constructor in JDK-17 (was: Unable to create/open java projects (ant & maven based) in JDK-17) > Unable to create/open java projects as removal of Deprecated constructor in > JDK-17 > -- > > Key: NETBEANS-5784 > URL: https://issues.apache.org/jira/browse/NETBEANS-5784 > Project: NetBeans > Issue Type: Bug > Components: java - Project >Affects Versions: 12.4 > Environment: *Java:* 17-ea; OpenJDK 64-Bit Server VM 17-ea+26-2439 > *Runtime:* OpenJDK Runtime Environment 17-ea+26-2439 > *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_IN (nb) >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Launch NetBeans IDE using JDK-17.PFB steps: > Steps: > # ant tryme -Dtryme.jdkhome= > # Create ant or maven based project > Exception: > [exec] SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.openide.WizardDescriptor$Listener$2$1 > [exec] java.lang.NoSuchMethodError: 'void > com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, > java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' > [exec] at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55) > [exec] at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40) > [exec] at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) > [exec] at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) > [exec] at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149) > [exec] at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234) > [exec] at > jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120) > [exec] at > jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112) > [exec] at > jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190) > [exec] at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992) > [exec] at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839) > [exec] at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428) > [exec] at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:410) > [exec] at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:395) > [exec] at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) > [exec] at > org.netbeans.modules.java.source.JavaSourceUtilImpl$1.resolveModule(JavaSourceUtilImpl.java:324) > [exec] at > org.netbeans.modules.java.preprocessorbridge.api.ModuleUtilities.resolveModule(ModuleUtilities.java:104) > [exec] at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:883) > [exec] at > org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > [exec] at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) > [exec] at > org.netbeans.api.java.classpath.ClassPath$SPIListener.propertyChange(ClassPath.java:1343) > [exec] at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268) > [exec] at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.propertyChange(MuxClassPathImplementation.java:127) > [exec] at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268) > [exec] at > org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl$SourceLevelSelector.propertyChange(ClassPathProviderImpl.java:1575) > [exec] at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.
[jira] [Updated] (NETBEANS-5784) Unable to create/open java projects as removal of Deprecated constructor(Log.java) in JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5784: - Summary: Unable to create/open java projects as removal of Deprecated constructor(Log.java) in JDK-17 (was: Unable to create/open java projects as removal of Deprecated constructor in JDK-17) > Unable to create/open java projects as removal of Deprecated > constructor(Log.java) in JDK-17 > > > Key: NETBEANS-5784 > URL: https://issues.apache.org/jira/browse/NETBEANS-5784 > Project: NetBeans > Issue Type: Bug > Components: java - Project >Affects Versions: 12.4 > Environment: *Java:* 17-ea; OpenJDK 64-Bit Server VM 17-ea+26-2439 > *Runtime:* OpenJDK Runtime Environment 17-ea+26-2439 > *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_IN (nb) >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > Launch NetBeans IDE using JDK-17.PFB steps: > Steps: > # ant tryme -Dtryme.jdkhome= > # Create ant or maven based project > Exception: > [exec] SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.openide.WizardDescriptor$Listener$2$1 > [exec] java.lang.NoSuchMethodError: 'void > com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, > java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' > [exec] at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55) > [exec] at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40) > [exec] at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) > [exec] at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) > [exec] at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149) > [exec] at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234) > [exec] at > jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120) > [exec] at > jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112) > [exec] at > jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190) > [exec] at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992) > [exec] at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839) > [exec] at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428) > [exec] at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:410) > [exec] at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:395) > [exec] at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) > [exec] at > org.netbeans.modules.java.source.JavaSourceUtilImpl$1.resolveModule(JavaSourceUtilImpl.java:324) > [exec] at > org.netbeans.modules.java.preprocessorbridge.api.ModuleUtilities.resolveModule(ModuleUtilities.java:104) > [exec] at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:883) > [exec] at > org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > [exec] at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) > [exec] at > org.netbeans.api.java.classpath.ClassPath$SPIListener.propertyChange(ClassPath.java:1343) > [exec] at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268) > [exec] at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.propertyChange(MuxClassPathImplementation.java:127) > [exec] at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335) > [exec] at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268) > [exec] at > org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl$SourceLevelSelector.propertyChange(ClassPathProviderImpl.java:1575) > [exec] at > org.openide.util.WeakListenerImpl$
[jira] [Created] (NETBEANS-5799) Add support JEP 406: Pattern Matching for switch (Preview)
Akhilesh Singh created NETBEANS-5799: Summary: Add support JEP 406: Pattern Matching for switch (Preview) Key: NETBEANS-5799 URL: https://issues.apache.org/jira/browse/NETBEANS-5799 Project: NetBeans Issue Type: New Feature Components: cnd - Code Completion, editor - Formatting & Indentation, java - Hints Environment: JDK 17 Reporter: Akhilesh Singh Add support JEP 406: Pattern Matching for switch (Preview) -- 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
[jira] [Created] (NETBEANS-5804) Naming suggestions for Switch Pattern Type variable
Akhilesh Singh created NETBEANS-5804: Summary: Naming suggestions for Switch Pattern Type variable Key: NETBEANS-5804 URL: https://issues.apache.org/jira/browse/NETBEANS-5804 Project: NetBeans Issue Type: Sub-task Components: java - Editor Reporter: Akhilesh Singh -- 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
[jira] [Assigned] (NETBEANS-5804) Naming suggestions for Switch Pattern Type variable
[ https://issues.apache.org/jira/browse/NETBEANS-5804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5804: Assignee: Akhilesh Singh > Naming suggestions for Switch Pattern Type variable > --- > > Key: NETBEANS-5804 > URL: https://issues.apache.org/jira/browse/NETBEANS-5804 > Project: NetBeans > Issue Type: Sub-task > Components: java - Editor >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Created] (NETBEANS-5805) Code formatting for Switch Case Pattern Matching
Akhilesh Singh created NETBEANS-5805: Summary: Code formatting for Switch Case Pattern Matching Key: NETBEANS-5805 URL: https://issues.apache.org/jira/browse/NETBEANS-5805 Project: NetBeans Issue Type: Sub-task Components: editor - Formatting & Indentation Reporter: Akhilesh Singh -- 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
[jira] [Assigned] (NETBEANS-5805) Code formatting for Switch Case Pattern Matching
[ https://issues.apache.org/jira/browse/NETBEANS-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5805: Assignee: Akhilesh Singh > Code formatting for Switch Case Pattern Matching > > > Key: NETBEANS-5805 > URL: https://issues.apache.org/jira/browse/NETBEANS-5805 > Project: NetBeans > Issue Type: Sub-task > Components: editor - Formatting & Indentation >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Created] (NETBEANS-5806) Add hints for Switch Case Pattern Matching
Akhilesh Singh created NETBEANS-5806: Summary: Add hints for Switch Case Pattern Matching Key: NETBEANS-5806 URL: https://issues.apache.org/jira/browse/NETBEANS-5806 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- 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
[jira] [Created] (NETBEANS-5828) CLONE - NB-Javac Upgrade to JDK-17
Akhilesh Singh created NETBEANS-5828: Summary: CLONE - NB-Javac Upgrade to JDK-17 Key: NETBEANS-5828 URL: https://issues.apache.org/jira/browse/NETBEANS-5828 Project: NetBeans Issue Type: Bug Affects Versions: 12.2 Reporter: Akhilesh Singh Fix For: 12.3 netbeans 12.1 currently is supported by nb-javac for JDK-14. Will upgrade nb-javac to make it in sync with JDK-15 for netbenas 12.2 nb-javac link: [https://hg.netbeans.org/main/nb-java-x] -- 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
[jira] [Updated] (NETBEANS-5828) NB-Javac Upgrade to JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5828: - Summary: NB-Javac Upgrade to JDK-17 (was: CLONE - NB-Javac Upgrade to JDK-17) > NB-Javac Upgrade to JDK-17 > -- > > Key: NETBEANS-5828 > URL: https://issues.apache.org/jira/browse/NETBEANS-5828 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.2 >Reporter: Akhilesh Singh >Priority: Critical > Labels: pull-request-available > Fix For: 12.3 > > > netbeans 12.1 currently is supported by nb-javac for JDK-14. > Will upgrade nb-javac to make it in sync with JDK-15 for netbenas 12.2 > nb-javac link: [https://hg.netbeans.org/main/nb-java-x] -- 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
[jira] [Updated] (NETBEANS-5828) NB-Javac Upgrade to JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5828: - Affects Version/s: (was: 12.2) 12.5 > NB-Javac Upgrade to JDK-17 > -- > > Key: NETBEANS-5828 > URL: https://issues.apache.org/jira/browse/NETBEANS-5828 > Project: NetBeans > Issue Type: New Feature >Affects Versions: 12.5 >Reporter: Akhilesh Singh >Priority: Critical > Labels: pull-request-available > Fix For: 12.3 > > > netbeans 12.1 currently is supported by nb-javac for JDK-14. > Will upgrade nb-javac to make it in sync with JDK-15 for netbenas 12.2 > nb-javac link: [https://hg.netbeans.org/main/nb-java-x] -- 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
[jira] [Updated] (NETBEANS-5828) NB-Javac Upgrade to JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5828: - Issue Type: New Feature (was: Bug) > NB-Javac Upgrade to JDK-17 > -- > > Key: NETBEANS-5828 > URL: https://issues.apache.org/jira/browse/NETBEANS-5828 > Project: NetBeans > Issue Type: New Feature >Affects Versions: 12.2 >Reporter: Akhilesh Singh >Priority: Critical > Labels: pull-request-available > Fix For: 12.3 > > > netbeans 12.1 currently is supported by nb-javac for JDK-14. > Will upgrade nb-javac to make it in sync with JDK-15 for netbenas 12.2 > nb-javac link: [https://hg.netbeans.org/main/nb-java-x] -- 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
[jira] [Updated] (NETBEANS-5828) NB-Javac Upgrade to JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5828: - Fix Version/s: (was: 12.3) 12.5 > NB-Javac Upgrade to JDK-17 > -- > > Key: NETBEANS-5828 > URL: https://issues.apache.org/jira/browse/NETBEANS-5828 > Project: NetBeans > Issue Type: New Feature >Affects Versions: 12.5 >Reporter: Akhilesh Singh >Priority: Critical > Labels: pull-request-available > Fix For: 12.5 > > > netbeans 12.1 currently is supported by nb-javac for JDK-14. > Will upgrade nb-javac to make it in sync with JDK-15 for netbenas 12.2 > nb-javac link: [https://hg.netbeans.org/main/nb-java-x] -- 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
[jira] [Updated] (NETBEANS-5828) NB-Javac Upgrade to JDK-17
[ https://issues.apache.org/jira/browse/NETBEANS-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-5828: - Description: netbeans 12.4 currently is supported by nb-javac for JDK-16. Will upgrade nb-javac to make it in sync with JDK-17 for netbenas 12.5 nb-javac link: https://github.com/oracle/nb-javac/ was: netbeans 12.1 currently is supported by nb-javac for JDK-14. Will upgrade nb-javac to make it in sync with JDK-15 for netbenas 12.2 nb-javac link: [https://hg.netbeans.org/main/nb-java-x] > NB-Javac Upgrade to JDK-17 > -- > > Key: NETBEANS-5828 > URL: https://issues.apache.org/jira/browse/NETBEANS-5828 > Project: NetBeans > Issue Type: New Feature >Affects Versions: 12.5 >Reporter: Akhilesh Singh >Priority: Critical > Labels: pull-request-available > Fix For: 12.5 > > > netbeans 12.4 currently is supported by nb-javac for JDK-16. > Will upgrade nb-javac to make it in sync with JDK-17 for netbenas 12.5 > nb-javac link: https://github.com/oracle/nb-javac/ -- 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
[jira] [Created] (NETBEANS-5842) Code coloring and semantic highlighting
Akhilesh Singh created NETBEANS-5842: Summary: Code coloring and semantic highlighting Key: NETBEANS-5842 URL: https://issues.apache.org/jira/browse/NETBEANS-5842 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- 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
[jira] [Assigned] (NETBEANS-5842) Code coloring and semantic highlighting
[ https://issues.apache.org/jira/browse/NETBEANS-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5842: Assignee: Akhilesh Singh > Code coloring and semantic highlighting > --- > > Key: NETBEANS-5842 > URL: https://issues.apache.org/jira/browse/NETBEANS-5842 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Resolved] (NETBEANS-5804) Naming suggestions for Switch Pattern Type variable
[ https://issues.apache.org/jira/browse/NETBEANS-5804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-5804. -- Resolution: Fixed > Naming suggestions for Switch Pattern Type variable > --- > > Key: NETBEANS-5804 > URL: https://issues.apache.org/jira/browse/NETBEANS-5804 > Project: NetBeans > Issue Type: Sub-task > Components: java - Editor >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Resolved] (NETBEANS-5842) Code coloring and semantic highlighting
[ https://issues.apache.org/jira/browse/NETBEANS-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-5842. -- Resolution: Fixed > Code coloring and semantic highlighting > --- > > Key: NETBEANS-5842 > URL: https://issues.apache.org/jira/browse/NETBEANS-5842 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Assigned] (NETBEANS-5843) Auto completion
[ https://issues.apache.org/jira/browse/NETBEANS-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5843: Assignee: Akhilesh Singh > Auto completion > --- > > Key: NETBEANS-5843 > URL: https://issues.apache.org/jira/browse/NETBEANS-5843 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Created] (NETBEANS-5843) Auto completion
Akhilesh Singh created NETBEANS-5843: Summary: Auto completion Key: NETBEANS-5843 URL: https://issues.apache.org/jira/browse/NETBEANS-5843 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- 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
[jira] [Resolved] (NETBEANS-5805) Code formatting for Switch Case Pattern Matching
[ https://issues.apache.org/jira/browse/NETBEANS-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-5805. -- Resolution: Fixed > Code formatting for Switch Case Pattern Matching > > > Key: NETBEANS-5805 > URL: https://issues.apache.org/jira/browse/NETBEANS-5805 > Project: NetBeans > Issue Type: Sub-task > Components: editor - Formatting & Indentation >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Resolved] (NETBEANS-5843) Auto completion
[ https://issues.apache.org/jira/browse/NETBEANS-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-5843. -- Resolution: Fixed > Auto completion > --- > > Key: NETBEANS-5843 > URL: https://issues.apache.org/jira/browse/NETBEANS-5843 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Assigned] (NETBEANS-5799) Add support JEP 406: Pattern Matching for switch (Preview)
[ https://issues.apache.org/jira/browse/NETBEANS-5799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5799: Assignee: Akhilesh Singh > Add support JEP 406: Pattern Matching for switch (Preview) > -- > > Key: NETBEANS-5799 > URL: https://issues.apache.org/jira/browse/NETBEANS-5799 > Project: NetBeans > Issue Type: New Feature > Components: cnd - Code Completion, editor - Formatting & > Indentation, java - Hints > Environment: JDK 17 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Add support JEP 406: Pattern Matching for switch (Preview) -- 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
[jira] [Assigned] (NETBEANS-5806) Add hints for Switch Case Pattern Matching
[ https://issues.apache.org/jira/browse/NETBEANS-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-5806: Assignee: Akhilesh Singh > Add hints for Switch Case Pattern Matching > -- > > Key: NETBEANS-5806 > URL: https://issues.apache.org/jira/browse/NETBEANS-5806 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- 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
[jira] [Created] (NETBEANS-5912) Update the text from "Compile on save (requires nb-javac plugin)" to "Compile on save""
Akhilesh Singh created NETBEANS-5912: Summary: Update the text from "Compile on save (requires nb-javac plugin)" to "Compile on save"" Key: NETBEANS-5912 URL: https://issues.apache.org/jira/browse/NETBEANS-5912 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 12.4 Reporter: Akhilesh Singh Attachments: req nb-javac plugin.png As compile on save supported for vanilla javac too, its no longer required the presence of nb-javac. IDE Build->compiling property still showing "nb-javac requires." -- 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
[jira] [Updated] (NETBEANS-6480) Support for javadoc inline snippet - JEP 413
[ https://issues.apache.org/jira/browse/NETBEANS-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-6480: - Summary: Support for javadoc inline snippet - JEP 413 (was: Support for javadoc inline snippet - JEP 413, ) > Support for javadoc inline snippet - JEP 413 > > > Key: NETBEANS-6480 > URL: https://issues.apache.org/jira/browse/NETBEANS-6480 > Project: NetBeans > Issue Type: New Feature > Components: java - Javadoc >Reporter: Akhilesh Singh >Priority: Major > > Introduce an {{@snippet}} tag for JavaDoc's Standard Doclet, to simplify the > inclusion of example source code in API documentation. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6480) Support for javadoc inline snippet - JEP 413,
Akhilesh Singh created NETBEANS-6480: Summary: Support for javadoc inline snippet - JEP 413, Key: NETBEANS-6480 URL: https://issues.apache.org/jira/browse/NETBEANS-6480 Project: NetBeans Issue Type: New Feature Components: java - Javadoc Reporter: Akhilesh Singh Introduce an {{@snippet}} tag for JavaDoc's Standard Doclet, to simplify the inclusion of example source code in API documentation. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Updated] (NETBEANS-6480) Support for javadoc inline snippet - JEP 413
[ https://issues.apache.org/jira/browse/NETBEANS-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-6480: - Description: Introduce an {{@snippet}} tag for JavaDoc's Standard Doclet, to simplify the inclusion of example source code in API documentation. [https://openjdk.java.net/jeps/413] was:Introduce an {{@snippet}} tag for JavaDoc's Standard Doclet, to simplify the inclusion of example source code in API documentation. > Support for javadoc inline snippet - JEP 413 > > > Key: NETBEANS-6480 > URL: https://issues.apache.org/jira/browse/NETBEANS-6480 > Project: NetBeans > Issue Type: New Feature > Components: java - Javadoc >Reporter: Akhilesh Singh >Priority: Major > > Introduce an {{@snippet}} tag for JavaDoc's Standard Doclet, to simplify the > inclusion of example source code in API documentation. > [https://openjdk.java.net/jeps/413] > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6481) Write parser to extract snippet code from javadoc comment.
Akhilesh Singh created NETBEANS-6481: Summary: Write parser to extract snippet code from javadoc comment. Key: NETBEANS-6481 URL: https://issues.apache.org/jira/browse/NETBEANS-6481 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6482) Process the Snippet Markup tags and attributes
Akhilesh Singh created NETBEANS-6482: Summary: Process the Snippet Markup tags and attributes Key: NETBEANS-6482 URL: https://issues.apache.org/jira/browse/NETBEANS-6482 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6483) Support for @highlight tag within a line or region
Akhilesh Singh created NETBEANS-6483: Summary: Support for @highlight tag within a line or region Key: NETBEANS-6483 URL: https://issues.apache.org/jira/browse/NETBEANS-6483 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6484) Support for @replace tag within a line or region
Akhilesh Singh created NETBEANS-6484: Summary: Support for @replace tag within a line or region Key: NETBEANS-6484 URL: https://issues.apache.org/jira/browse/NETBEANS-6484 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6485) Support for @link tag within a line or region
Akhilesh Singh created NETBEANS-6485: Summary: Support for @link tag within a line or region Key: NETBEANS-6485 URL: https://issues.apache.org/jira/browse/NETBEANS-6485 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6486) Support for @end tag mark the end of a region
Akhilesh Singh created NETBEANS-6486: Summary: Support for @end tag mark the end of a region Key: NETBEANS-6486 URL: https://issues.apache.org/jira/browse/NETBEANS-6486 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6487) Validation and error handling
Akhilesh Singh created NETBEANS-6487: Summary: Validation and error handling Key: NETBEANS-6487 URL: https://issues.apache.org/jira/browse/NETBEANS-6487 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6488) Unit Test cases
Akhilesh Singh created NETBEANS-6488: Summary: Unit Test cases Key: NETBEANS-6488 URL: https://issues.apache.org/jira/browse/NETBEANS-6488 Project: NetBeans Issue Type: Sub-task Reporter: Akhilesh Singh -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6481) Write parser to extract snippet code from javadoc comment.
[ https://issues.apache.org/jira/browse/NETBEANS-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6481: Assignee: Akhilesh Singh > Write parser to extract snippet code from javadoc comment. > -- > > Key: NETBEANS-6481 > URL: https://issues.apache.org/jira/browse/NETBEANS-6481 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6485) Support for @link tag within a line or region
[ https://issues.apache.org/jira/browse/NETBEANS-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6485: Assignee: Akhilesh Singh > Support for @link tag within a line or region > - > > Key: NETBEANS-6485 > URL: https://issues.apache.org/jira/browse/NETBEANS-6485 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6484) Support for @replace tag within a line or region
[ https://issues.apache.org/jira/browse/NETBEANS-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6484: Assignee: Akhilesh Singh > Support for @replace tag within a line or region > > > Key: NETBEANS-6484 > URL: https://issues.apache.org/jira/browse/NETBEANS-6484 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6487) Validation and error handling
[ https://issues.apache.org/jira/browse/NETBEANS-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6487: Assignee: Akhilesh Singh > Validation and error handling > - > > Key: NETBEANS-6487 > URL: https://issues.apache.org/jira/browse/NETBEANS-6487 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6486) Support for @end tag mark the end of a region
[ https://issues.apache.org/jira/browse/NETBEANS-6486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6486: Assignee: Akhilesh Singh > Support for @end tag mark the end of a region > - > > Key: NETBEANS-6486 > URL: https://issues.apache.org/jira/browse/NETBEANS-6486 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6488) Unit Test cases
[ https://issues.apache.org/jira/browse/NETBEANS-6488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6488: Assignee: Akhilesh Singh > Unit Test cases > --- > > Key: NETBEANS-6488 > URL: https://issues.apache.org/jira/browse/NETBEANS-6488 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6480) Support for javadoc inline snippet - JEP 413
[ https://issues.apache.org/jira/browse/NETBEANS-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6480: Assignee: Akhilesh Singh > Support for javadoc inline snippet - JEP 413 > > > Key: NETBEANS-6480 > URL: https://issues.apache.org/jira/browse/NETBEANS-6480 > Project: NetBeans > Issue Type: New Feature > Components: java - Javadoc >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > > Introduce an {{@snippet}} tag for JavaDoc's Standard Doclet, to simplify the > inclusion of example source code in API documentation. > [https://openjdk.java.net/jeps/413] > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6482) Process the Snippet Markup tags and attributes
[ https://issues.apache.org/jira/browse/NETBEANS-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6482: Assignee: Akhilesh Singh > Process the Snippet Markup tags and attributes > -- > > Key: NETBEANS-6482 > URL: https://issues.apache.org/jira/browse/NETBEANS-6482 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-6483) Support for @highlight tag within a line or region
[ https://issues.apache.org/jira/browse/NETBEANS-6483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-6483: Assignee: Akhilesh Singh > Support for @highlight tag within a line or region > -- > > Key: NETBEANS-6483 > URL: https://issues.apache.org/jira/browse/NETBEANS-6483 > Project: NetBeans > Issue Type: Sub-task >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Assigned] (NETBEANS-4179) Assertion error in javac when saving file with missing comma in method parameter list
[ https://issues.apache.org/jira/browse/NETBEANS-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-4179: Assignee: Akhilesh Singh (was: Meghna Jayan) > Assertion error in javac when saving file with missing comma in method > parameter list > - > > Key: NETBEANS-4179 > URL: https://issues.apache.org/jira/browse/NETBEANS-4179 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.3 > Environment: NetBeans 11.3 with nbjavac plugin installed >Reporter: Eirik Bakke >Assignee: Akhilesh Singh >Priority: Major > Labels: nbjavac > > If, during editing, a method parameter list occurs with a missing comma (in > certain cases), an error dialog shows up showing an assertion error in javac > every time the Java source file is saved, interrupting the user. A minimized > example exhibiting this behavior is as follows: > {code:java} > public class BugErrorUncaught { > private Object testMethod(String param1 final String param2) { > return null; > } > } > {code} > This is a variation of the example in NETBEANS-4095, but filed here as a > separate bug since the two cause different exceptions at different levels > (inside javac here vs. at the semantic highlighting layer in NETBEANS-4095). > This example causes the IDE to throw the following exception: > {noformat} > java.lang.AssertionError > at com.sun.tools.javac.util.Assert.error(Assert.java:155) > at com.sun.tools.javac.util.Assert.check(Assert.java:46) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.errorUncaught(Flow.java:918) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:1008) > at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:422) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1456) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1446) > at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:219) > at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1499) > at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1473) > at > com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504) > at > com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651) > at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507) > [catch] at > org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261) > at > org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3255) > at > org.ne
[jira] [Assigned] (NETBEANS-4179) Assertion error in javac when saving file with missing comma in method parameter list
[ https://issues.apache.org/jira/browse/NETBEANS-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-4179: Assignee: Meghna Jayan (was: Akhilesh Singh) > Assertion error in javac when saving file with missing comma in method > parameter list > - > > Key: NETBEANS-4179 > URL: https://issues.apache.org/jira/browse/NETBEANS-4179 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.3 > Environment: NetBeans 11.3 with nbjavac plugin installed >Reporter: Eirik Bakke >Assignee: Meghna Jayan >Priority: Major > Labels: nbjavac > > If, during editing, a method parameter list occurs with a missing comma (in > certain cases), an error dialog shows up showing an assertion error in javac > every time the Java source file is saved, interrupting the user. A minimized > example exhibiting this behavior is as follows: > {code:java} > public class BugErrorUncaught { > private Object testMethod(String param1 final String param2) { > return null; > } > } > {code} > This is a variation of the example in NETBEANS-4095, but filed here as a > separate bug since the two cause different exceptions at different levels > (inside javac here vs. at the semantic highlighting layer in NETBEANS-4095). > This example causes the IDE to throw the following exception: > {noformat} > java.lang.AssertionError > at com.sun.tools.javac.util.Assert.error(Assert.java:155) > at com.sun.tools.javac.util.Assert.check(Assert.java:46) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.errorUncaught(Flow.java:918) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:1008) > at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:422) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1456) > at > com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1446) > at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:219) > at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1499) > at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1473) > at > com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504) > at > com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651) > at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507) > [catch] at > org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261) > at > org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3255) > at > org.netb
[jira] [Assigned] (NETBEANS-3260) Ant scripts for building Java projects using modules give wrong output
[ https://issues.apache.org/jira/browse/NETBEANS-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-3260: Assignee: Akhilesh Singh (was: ARUNAVA SINHA) > Ant scripts for building Java projects using modules give wrong output > -- > > Key: NETBEANS-3260 > URL: https://issues.apache.org/jira/browse/NETBEANS-3260 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 11.1 > Environment: Netbeans 11.1 Windows 7 >Reporter: Peter Toye >Assignee: Akhilesh Singh >Priority: Minor > Attachments: TestModules1.zip > > > The attached project - a very simple one with 2 modules - gives incorrect > output for the command-line. The output is > {{C:\Program Files\Java\jdk-12.0.1/bin/java -modulepath > D:\Peter\Netbeans\TestModules1\build\modules com.ptoye.greetings.Main}} > I think it should be more like > {{"C:\Program Files\Java\jdk-12.0.1/bin/java" --module-path > D:\Peter\Netbeans\TestModules1\build\modules -m com.ptoye.greetings.Main}} > but even this gives an error: > {{Error occurred during initialization of boot layer}} > {{java.lang.module.FindException: Module com.ptoye.greetings.Main not found}} > so there's obviously still something wrong which I haven't yet worked out. -- 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
[jira] [Commented] (NETBEANS-3260) Ant scripts for building Java projects using modules give wrong output
[ https://issues.apache.org/jira/browse/NETBEANS-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986870#comment-16986870 ] Akhilesh Singh commented on NETBEANS-3260: -- Start looking into this bug. Its reproducible in my local system. > Ant scripts for building Java projects using modules give wrong output > -- > > Key: NETBEANS-3260 > URL: https://issues.apache.org/jira/browse/NETBEANS-3260 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 11.1 > Environment: Netbeans 11.1 Windows 7 >Reporter: Peter Toye >Assignee: Akhilesh Singh >Priority: Minor > Attachments: TestModules1.zip > > > The attached project - a very simple one with 2 modules - gives incorrect > output for the command-line. The output is > {{C:\Program Files\Java\jdk-12.0.1/bin/java -modulepath > D:\Peter\Netbeans\TestModules1\build\modules com.ptoye.greetings.Main}} > I think it should be more like > {{"C:\Program Files\Java\jdk-12.0.1/bin/java" --module-path > D:\Peter\Netbeans\TestModules1\build\modules -m com.ptoye.greetings.Main}} > but even this gives an error: > {{Error occurred during initialization of boot layer}} > {{java.lang.module.FindException: Module com.ptoye.greetings.Main not found}} > so there's obviously still something wrong which I haven't yet worked out. -- 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
[jira] [Comment Edited] (NETBEANS-3260) Ant scripts for building Java projects using modules give wrong output
[ https://issues.apache.org/jira/browse/NETBEANS-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986870#comment-16986870 ] Akhilesh Singh edited comment on NETBEANS-3260 at 12/3/19 12:51 PM: Working on this defect. Its reproducible in my local system. was (Author: singh-akhilesh): Start looking into this bug. Its reproducible in my local system. > Ant scripts for building Java projects using modules give wrong output > -- > > Key: NETBEANS-3260 > URL: https://issues.apache.org/jira/browse/NETBEANS-3260 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 11.1 > Environment: Netbeans 11.1 Windows 7 >Reporter: Peter Toye >Assignee: Akhilesh Singh >Priority: Minor > Attachments: TestModules1.zip > > > The attached project - a very simple one with 2 modules - gives incorrect > output for the command-line. The output is > {{C:\Program Files\Java\jdk-12.0.1/bin/java -modulepath > D:\Peter\Netbeans\TestModules1\build\modules com.ptoye.greetings.Main}} > I think it should be more like > {{"C:\Program Files\Java\jdk-12.0.1/bin/java" --module-path > D:\Peter\Netbeans\TestModules1\build\modules -m com.ptoye.greetings.Main}} > but even this gives an error: > {{Error occurred during initialization of boot layer}} > {{java.lang.module.FindException: Module com.ptoye.greetings.Main not found}} > so there's obviously still something wrong which I haven't yet worked out. -- 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
[jira] [Comment Edited] (NETBEANS-3260) Ant scripts for building Java projects using modules give wrong output
[ https://issues.apache.org/jira/browse/NETBEANS-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986870#comment-16986870 ] Akhilesh Singh edited comment on NETBEANS-3260 at 12/3/19 12:51 PM: Working on this defect. Its reproducible in my local system/env. was (Author: singh-akhilesh): Working on this defect. Its reproducible in my local system. > Ant scripts for building Java projects using modules give wrong output > -- > > Key: NETBEANS-3260 > URL: https://issues.apache.org/jira/browse/NETBEANS-3260 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 11.1 > Environment: Netbeans 11.1 Windows 7 >Reporter: Peter Toye >Assignee: Akhilesh Singh >Priority: Minor > Attachments: TestModules1.zip > > > The attached project - a very simple one with 2 modules - gives incorrect > output for the command-line. The output is > {{C:\Program Files\Java\jdk-12.0.1/bin/java -modulepath > D:\Peter\Netbeans\TestModules1\build\modules com.ptoye.greetings.Main}} > I think it should be more like > {{"C:\Program Files\Java\jdk-12.0.1/bin/java" --module-path > D:\Peter\Netbeans\TestModules1\build\modules -m com.ptoye.greetings.Main}} > but even this gives an error: > {{Error occurred during initialization of boot layer}} > {{java.lang.module.FindException: Module com.ptoye.greetings.Main not found}} > so there's obviously still something wrong which I haven't yet worked out. -- 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
[jira] [Created] (NETBEANS-3586) Same module name when created, breaks things. Showing null pointer exception on screen.
Akhilesh Singh created NETBEANS-3586: Summary: Same module name when created, breaks things. Showing null pointer exception on screen. Key: NETBEANS-3586 URL: https://issues.apache.org/jira/browse/NETBEANS-3586 Project: NetBeans Issue Type: Bug Components: java - Project Affects Versions: 11.2 Environment: OpenJDK Runtime Environment 13.0.1+9 Reporter: Akhilesh Singh Assignee: Akhilesh Singh Steps to reproduce: # Create modular project - Go to File->New Project->Java with ant->Java Modular Project # Add a new module "newmodule" & click finish # Add another module of same name "newmodule" & click finish Actual result : A java.lang.NullPointerException exception has occurred. However, the system should continue working without further problems. Click Show Details for the stack trace Expected result : Application should not allow to create/add another module of same name if already exist. -- 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
[jira] [Commented] (NETBEANS-3586) Same module name when created, breaks things. Showing null pointer exception on screen.
[ https://issues.apache.org/jira/browse/NETBEANS-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998090#comment-16998090 ] Akhilesh Singh commented on NETBEANS-3586: -- Exception Stack Trace : java.lang.NullPointerException at java.base/java.util.Collections$UnmodifiableCollection.(Collections.java:1028) at java.base/java.util.Collections$UnmodifiableList.(Collections.java:1301) at java.base/java.util.Collections.unmodifiableList(Collections.java:1288) at com.sun.tools.javac.code.Symbol$ModuleSymbol.getDirectives(Symbol.java:1031) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:275) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:214) at com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2815) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:291) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:214) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:237) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:214) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:603) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:291) at org.netbeans.modules.java.navigation.ElementScanningTask.runImpl(ElementScanningTask.java:124) at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:96) at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:77) [catch] at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Same module name when created, breaks things. Showing null pointer exception > on screen. > --- > > Key: NETBEANS-3586 > URL: https://issues.apache.org/jira/browse/NETBEANS-3586 > Project: NetBeans > Issue Type: Bug > Components: java - Project >Affects Versions: 11.2 > Environment: OpenJDK Runtime Environment 13.0.1+9 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: java, modularization, pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > Steps to reproduce: > # Create modular project - Go to File->New Project->Java with ant->Java > Modular Project > # Add a new module "newmodule" & click finish > # Add another module of same name "newmodule" & click finish > Actual result : A java.lang.NullPointerException exception has occurred. > However, the system should continue working without further problems. > Click Show Details for the stack trace > > Expected result : Application should not allow to create/add another module > of same name if already exist. -- 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
[jira] [Commented] (NETBEANS-3604) Record Declaration using keyword "record" not recognized by net-beans editor, throwing IllegalArgumentException.
[ https://issues.apache.org/jira/browse/NETBEANS-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998848#comment-16998848 ] Akhilesh Singh commented on NETBEANS-3604: -- java.lang.IllegalArgumentException: RECORDjava.lang.IllegalArgumentException: RECORD at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:515) at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:408) at org.netbeans.modules.java.editor.overridden.IsOverriddenVisitor.getHandle(IsOverriddenVisitor.java:70) at org.netbeans.modules.java.editor.overridden.IsOverriddenVisitor.visitClass(IsOverriddenVisitor.java:118) at org.netbeans.modules.java.editor.overridden.IsOverriddenVisitor.visitClass(IsOverriddenVisitor.java:44) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:824) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90) at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113) at jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:604) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.overridden.ComputeOverriding.process(ComputeOverriding.java:94) at org.netbeans.modules.java.editor.overridden.ComputeAnnotations.computeAnnotations(ComputeAnnotations.java:103) at org.netbeans.modules.java.editor.overridden.ComputeAnnotations.run(ComputeAnnotations.java:85) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)[catch] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Record Declaration using keyword "record" not recognized by net-beans editor, > throwing IllegalArgumentException. > > > Key: NETBEANS-3604 > URL: https://issues.apache.org/jira/browse/NETBEANS-3604 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14 > > Steps to reproduce : > Create any java class in ant-java project and declare records using 'record' > syntax (e.g. record Test2(long i, int j) {}) > > Actual Result: > A java.lang.IllegalArgumentException exception has occurred. > However, the system should continue working without further problems. > Expected Result: > Editor should support 'record' for source jdk version 14. > -- 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
[jira] [Created] (NETBEANS-3604) Record Declaration using keyword "record" not recognized by net-beans editor, throwing IllegalArgumentException.
Akhilesh Singh created NETBEANS-3604: Summary: Record Declaration using keyword "record" not recognized by net-beans editor, throwing IllegalArgumentException. Key: NETBEANS-3604 URL: https://issues.apache.org/jira/browse/NETBEANS-3604 Project: NetBeans Issue Type: Bug Components: java - Editor Reporter: Akhilesh Singh Assignee: Akhilesh Singh Steps to reproduce : Create any java class in ant-java project and declare records using 'record' syntax (e.g. record Test2(long i, int j) {}) Actual Result: A java.lang.IllegalArgumentException exception has occurred. However, the system should continue working without further problems. Expected Result: Editor should support 'record' for source jdk version 14. -- 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
[jira] [Created] (NETBEANS-3612) "IllegalArgumentException: Unsupported kind: RECORD" thrown while editing content. JDK 14
Akhilesh Singh created NETBEANS-3612: Summary: "IllegalArgumentException: Unsupported kind: RECORD" thrown while editing content. JDK 14 Key: NETBEANS-3612 URL: https://issues.apache.org/jira/browse/NETBEANS-3612 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh Writing below code in the java editor throws IllegalArgumentException. public class JDK14Appplication { public static void main(String[] args) { java.lang.Record t2 = new RECA1.Test2(5, 6); System.out.println("class Inner record value " + t2); } } class RECA1{ public record Test2(long i1, int j1) { } } -- 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
[jira] [Commented] (NETBEANS-3612) "IllegalArgumentException: Unsupported kind: RECORD" thrown while editing content. JDK 14
[ https://issues.apache.org/jira/browse/NETBEANS-3612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000105#comment-17000105 ] Akhilesh Singh commented on NETBEANS-3612: -- [exec] java.lang.IllegalArgumentException: Unsupported kind: RECORD [exec] at org.netbeans.modules.java.editor.base.semantic.Utilities.findBodyStart(Utilities.java:509) [exec] at org.netbeans.modules.java.editor.base.fold.JavaElementFoldVisitor.visitClass(JavaElementFoldVisitor.java:183) [exec] at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:824) [exec] at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) [exec] at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) [exec] at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187) [exec] at org.netbeans.modules.java.editor.base.fold.JavaElementFoldVisitor.visitClass(JavaElementFoldVisitor.java:180) [exec] at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:824) [exec] at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) [exec] at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) [exec] at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113) [exec] at jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144) [exec] at org.netbeans.modules.java.editor.base.fold.JavaElementFoldVisitor.visitCompilationUnit(JavaElementFoldVisitor.java:303) [exec] at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:604) [exec] at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) [exec] at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) [exec] at org.netbeans.modules.java.editor.semantic.ScanningCancellableTask.scan(ScanningCancellableTask.java:75) [exec] at org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask.run(JavaElementFoldManager.java:236) [exec] at org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask.run(JavaElementFoldManager.java:117) [exec] at org.netbeans.modules.java.editor.fold.JavaElementFoldManagerTaskFactory$1.run(JavaElementFoldManagerTaskFactory.java:51) [exec] at org.netbeans.modules.java.editor.fold.JavaElementFoldManagerTaskFactory$1.run(JavaElementFoldManagerTaskFactory.java:46) [exec] at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) [exec] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) [exec] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [exec] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [exec] at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) [exec] at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) [exec] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [exec] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > "IllegalArgumentException: Unsupported kind: RECORD" thrown while editing > content. JDK 14 > - > > Key: NETBEANS-3612 > URL: https://issues.apache.org/jira/browse/NETBEANS-3612 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: OpenJDK Runtime Environment 14-ea+27-1339 >Reporter: Akhilesh Singh >Priority: Major > Labels: j
[jira] [Created] (NETBEANS-3613) Running single source files contains 'records' throwing UnknownElementException. JDK 14
Akhilesh Singh created NETBEANS-3613: Summary: Running single source files contains 'records' throwing UnknownElementException. JDK 14 Key: NETBEANS-3613 URL: https://issues.apache.org/jira/browse/NETBEANS-3613 Project: NetBeans Issue Type: Bug Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh 'records' not executing from the same/single source files. Compilation is fine but while running getting error "Unknown element: "i1". Writing record in seperate class work fairly. Writing below code in the java editor throws IllegalArgumentException. public class JDK14Appplication { public static void main(String[] args) { java.lang.Record t2 = new RECA1.Test2(5, 6); System.out.println("class Inner record value " + t2); } } class RECA1{ public record Test2(long i1, int j1) { } } Stack trace : Exception 1: javax.lang.model.element.UnknownElementException: Unknown element: "i"javax.lang.model.element.UnknownElementException: Unknown element: "i" at java.compiler@14-ea/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126) at java.compiler@14-ea/javax.lang.model.element.ElementVisitor.visitRecordComponent(ElementVisitor.java:190) at java.compiler@14-ea/javax.lang.model.util.AbstractElementVisitor6.visitRecordComponent(AbstractElementVisitor6.java:164) at jdk.compiler/com.sun.tools.javac.code.Symbol$RecordComponent.accept(Symbol.java:1758) at java.compiler@14-ea/javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:154) at java.compiler@14-ea/javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:141) at java.compiler@14-ea/javax.lang.model.util.ElementScanner6.visitType(ElementScanner6.java:194) at org.netbeans.api.java.source.SourceUtils$3$1.visitType(SourceUtils.java:864) at org.netbeans.api.java.source.SourceUtils$3$1.visitType(SourceUtils.java:858) at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522) at java.compiler@14-ea/javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:154) at java.compiler@14-ea/javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:141) at org.netbeans.api.java.source.SourceUtils$3.run(SourceUtils.java:870) at org.netbeans.api.java.source.SourceUtils$3.run(SourceUtils.java:853) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.api.java.source.SourceUtils.getMainClasses(SourceUtils.java:853) at org.netbeans.modules.java.api.common.util.CommonProjectUtils.getMainMethods(CommonProjectUtils.java:133) at org.netbeans.modules.java.api.common.project.JavaActionProvider$4.getTargetNames(JavaActionProvider.java:1124) at org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:795) at org.netbeans.modules.java.api.common.project.BaseActionProvider.lambda$getTargetNames$2(BaseActionProvider.java:311) at java.base/java.util.Optional.map(Optional.java:258) at org.netbeans.modules.java.api.common.project.BaseActionProvider.getTargetNames(BaseActionProvider.java:297) at org.netbeans.modules.java.j2seproject.J2SEActionProvider.getTargetNames(J2SEActionProvider.java:275) at org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:782) at org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1305) at org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287) at org.netbeans.modules.java.api.common.project.ActionP
[jira] [Created] (NETBEANS-3614) Multiple IllegalArgumentException thrown for record. JDK 14
Akhilesh Singh created NETBEANS-3614: Summary: Multiple IllegalArgumentException thrown for record. JDK 14 Key: NETBEANS-3614 URL: https://issues.apache.org/jira/browse/NETBEANS-3614 Project: NetBeans Issue Type: Bug Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh Editing/Writing any code on the editor for 'record' throws below exceptions: Exception 1: [exec] java.lang.IllegalArgumentException [exec] at org.netbeans.api.java.source.ClassIndex.encodeSearchKind(ClassIndex.java:873) [exec] at org.netbeans.api.java.source.ClassIndex.searchImpl(ClassIndex.java:493) [exec] at org.netbeans.api.java.source.ClassIndex.getElements(ClassIndex.java:342) [exec] at org.netbeans.modules.java.editor.overridden.ComputeOverriders.computeUsers(ComputeOverriders.java:280) [exec] at org.netbeans.modules.java.editor.overridden.ComputeOverriders.computeUsers(ComputeOverriders.java:261) [exec] at org.netbeans.modules.java.editor.overridden.ComputeOverriders.computeUsers(ComputeOverriders.java:416) [exec] at org.netbeans.modules.java.editor.overridden.ComputeOverriders.processImpl(ComputeOverriders.java:203) [exec] at org.netbeans.modules.java.editor.overridden.ComputeOverriders.process(ComputeOverriders.java:154) [exec] at org.netbeans.modules.java.editor.overridden.ComputeAnnotations.computeAnnotations(ComputeAnnotations.java:104) [exec] at org.netbeans.modules.java.editor.overridden.ComputeAnnotations.run(ComputeAnnotations.java:85) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) [exec] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) [exec] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) [exec] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [exec] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [exec] at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) [exec] at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) [exec] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [exec] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) === Exception 2: java.lang.IllegalArgumentExceptionjava.lang.IllegalArgumentException at org.netbeans.modules.java.source.usages.DocumentUtil.encodeKind(DocumentUtil.java:391) at org.netbeans.modules.java.source.usages.BinaryName.create(BinaryName.java:150) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.visitClass(SourceAnalyzerFactory.java:648) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.visitClass(SourceAnalyzerFactory.java:274) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:824) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.scan(SourceAnalyzerFactory.java:385) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.scan(SourceAnalyzerFactory.java:274) at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90) at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.visitCompilationUnit(SourceAnalyzerFactory.java:402) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.visitCompilationUnit(SourceAnalyzerFactory.java:274) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:604) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$UsagesVisitor.scan(SourceAnalyzerFactory.java:385)[catch] at org.netbeans.modules.java.source.usages.SourceAnalyzerFactory$SimpleAnalyzer.analyseUnit(SourceAnalyzerFactory.java:242) at org.netbeans.modules.java.source.usages.PersistentClassIndex$IndexPatch.lambda$updateDirty$0(PersistentClassIndex.java:575) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor
[jira] [Created] (NETBEANS-3624) Formatting issue in 'records' (JDK-14)
Akhilesh Singh created NETBEANS-3624: Summary: Formatting issue in 'records' (JDK-14) Key: NETBEANS-3624 URL: https://issues.apache.org/jira/browse/NETBEANS-3624 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh Incorrect formatting for the new feature 'record' on pressing ALT-SHIFT-F Steps : Type the below code on editor & Press ALT-SHIFT-F : record Test2(long i, int j) { public void m(){ System.out.println(); } } Actual Result : record Test2(long i , int j ) { public void m() { System.out.println(); } } Expected Result : record Test2(long i, int j) { public void m(){ System.out.println(); } } -- 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
[jira] [Created] (NETBEANS-3625) Support auto completion for records : JDK 14
Akhilesh Singh created NETBEANS-3625: Summary: Support auto completion for records : JDK 14 Key: NETBEANS-3625 URL: https://issues.apache.org/jira/browse/NETBEANS-3625 Project: NetBeans Issue Type: Improvement Components: java - Editor Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh 1. Type reco^ on editor 2. If we do ctrl+space at caret position it should do the autocomplete with "records" -- 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
[jira] [Created] (NETBEANS-3639) Show hints to convert legacy written "instance of" checking code to new pattern matching
Akhilesh Singh created NETBEANS-3639: Summary: Show hints to convert legacy written "instance of" checking code to new pattern matching Key: NETBEANS-3639 URL: https://issues.apache.org/jira/browse/NETBEANS-3639 Project: NetBeans Issue Type: Improvement Components: java - Editor Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh Issue to convert legacy written code e.g if (obj instanceof String) { String s = (String) obj; // use s } to new pattern if (obj instanceof String s) { // can use s here } -- 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
[jira] [Created] (NETBEANS-3640) Show hints to convert new pattern matching code to legacy instance of code.
Akhilesh Singh created NETBEANS-3640: Summary: Show hints to convert new pattern matching code to legacy instance of code. Key: NETBEANS-3640 URL: https://issues.apache.org/jira/browse/NETBEANS-3640 Project: NetBeans Issue Type: Improvement Components: java - Editor Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh Issue to convert new pattern if (obj instanceof String s) { // can use s here } to legacy code if (obj instanceof String) { String s = (String) obj; // use s } -- 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
[jira] [Updated] (NETBEANS-3625) Support auto code completion for records : JDK 14
[ https://issues.apache.org/jira/browse/NETBEANS-3625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-3625: - Summary: Support auto code completion for records : JDK 14 (was: Support auto completion for records : JDK 14) > Support auto code completion for records : JDK 14 > - > > Key: NETBEANS-3625 > URL: https://issues.apache.org/jira/browse/NETBEANS-3625 > Project: NetBeans > Issue Type: Improvement > Components: java - Editor > Environment: OpenJDK Runtime Environment 14-ea+27-1339 >Reporter: Akhilesh Singh >Priority: Major > Labels: jdk14 > > 1. Type reco^ on editor > 2. If we do ctrl+space at caret position it should do the autocomplete with > "records" -- 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
[jira] [Commented] (NETBEANS-3260) Ant scripts for building Java projects using modules give wrong output
[ https://issues.apache.org/jira/browse/NETBEANS-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006606#comment-17006606 ] Akhilesh Singh commented on NETBEANS-3260: -- PR raised [https://github.com/apache/netbeans/pull/1767] > Ant scripts for building Java projects using modules give wrong output > -- > > Key: NETBEANS-3260 > URL: https://issues.apache.org/jira/browse/NETBEANS-3260 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 11.1 > Environment: Netbeans 11.1 Windows 7 >Reporter: Peter Toye >Assignee: Akhilesh Singh >Priority: Minor > Labels: pull-request-available > Attachments: TestModules1.zip > > Time Spent: 10m > Remaining Estimate: 0h > > The attached project - a very simple one with 2 modules - gives incorrect > output for the command-line. The output is > {{C:\Program Files\Java\jdk-12.0.1/bin/java -modulepath > D:\Peter\Netbeans\TestModules1\build\modules com.ptoye.greetings.Main}} > I think it should be more like > {{"C:\Program Files\Java\jdk-12.0.1/bin/java" --module-path > D:\Peter\Netbeans\TestModules1\build\modules -m com.ptoye.greetings.Main}} > but even this gives an error: > {{Error occurred during initialization of boot layer}} > {{java.lang.module.FindException: Module com.ptoye.greetings.Main not found}} > so there's obviously still something wrong which I haven't yet worked out. -- 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
[jira] [Resolved] (NETBEANS-3586) Same module name when created, breaks things. Showing null pointer exception on screen.
[ https://issues.apache.org/jira/browse/NETBEANS-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-3586. -- Resolution: Fixed > Same module name when created, breaks things. Showing null pointer exception > on screen. > --- > > Key: NETBEANS-3586 > URL: https://issues.apache.org/jira/browse/NETBEANS-3586 > Project: NetBeans > Issue Type: Bug > Components: java - Project >Affects Versions: 11.2 > Environment: OpenJDK Runtime Environment 13.0.1+9 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: java, modularization, pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > Steps to reproduce: > # Create modular project - Go to File->New Project->Java with ant->Java > Modular Project > # Add a new module "newmodule" & click finish > # Add another module of same name "newmodule" & click finish > Actual result : A java.lang.NullPointerException exception has occurred. > However, the system should continue working without further problems. > Click Show Details for the stack trace > > Expected result : Application should not allow to create/add another module > of same name if already exist. -- 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
[jira] [Created] (NETBEANS-3702) Hint "implements all abstract method" is not working with record (JDK 14)
Akhilesh Singh created NETBEANS-3702: Summary: Hint "implements all abstract method" is not working with record (JDK 14) Key: NETBEANS-3702 URL: https://issues.apache.org/jira/browse/NETBEANS-3702 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 Reporter: Akhilesh Singh Below code snippet throwing null pointer exception while generating override method using hints. record MyRecrod(int i) implements Runnable { } -- 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
[jira] [Updated] (NETBEANS-3604) Supports for Records (JEP 359) in JDK-14
[ https://issues.apache.org/jira/browse/NETBEANS-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-3604: - Summary: Supports for Records (JEP 359) in JDK-14 (was: Record Declaration using keyword "record" not recognized by net-beans editor, throwing IllegalArgumentException.) > Supports for Records (JEP 359) in JDK-14 > > > Key: NETBEANS-3604 > URL: https://issues.apache.org/jira/browse/NETBEANS-3604 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14 > > Steps to reproduce : > Create any java class in ant-java project and declare records using 'record' > syntax (e.g. record Test2(long i, int j) {}) > > Actual Result: > A java.lang.IllegalArgumentException exception has occurred. > However, the system should continue working without further problems. > Expected Result: > Editor should support 'record' for source jdk version 14. > -- 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
[jira] [Resolved] (NETBEANS-3702) Hint "implements all abstract method" is not working with record (JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-3702. -- Assignee: Akhilesh Singh Resolution: Fixed > Hint "implements all abstract method" is not working with record (JDK 14) > - > > Key: NETBEANS-3702 > URL: https://issues.apache.org/jira/browse/NETBEANS-3702 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Below code snippet throwing null pointer exception while generating override > method using hints. > record MyRecrod(int i) implements Runnable { > } -- 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
[jira] [Created] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
Akhilesh Singh created NETBEANS-3786: Summary: Hint "add imports" is not in a right place(Record -JDK 14) Key: NETBEANS-3786 URL: https://issues.apache.org/jira/browse/NETBEANS-3786 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 Reporter: Akhilesh Singh Assignee: Akhilesh Singh Below code snippet throwing null pointer exception while generating override method using hints. record MyRecrod(int i) implements Runnable { } -- 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
[jira] [Updated] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-3786: - Description: Write below code snippet on editor and use hint "*add import*" for List interface. public record Test(String s, int i, int j){ static List list= null; } Actual Result: Import statement comes at the end of record body. This change shows compile time error on editor. Excepted Result Import statement should come after package declaration or before start of record body. Note : This issue occurs only when there is no other import statement available or declared previously. was: Below code snippet throwing null pointer exception while generating override method using hints. record MyRecrod(int i) implements Runnable { } > Hint "add imports" is not in a right place(Record -JDK 14) > -- > > Key: NETBEANS-3786 > URL: https://issues.apache.org/jira/browse/NETBEANS-3786 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > > Write below code snippet on editor and use hint "*add import*" for List > interface. > public record Test(String s, int i, int j){ > static List list= null; > } > Actual Result: > Import statement comes at the end of record body. This change shows compile > time error on editor. > > Excepted Result > Import statement should come after package declaration or before start of > record body. > > Note : This issue occurs only when there is no other import statement > available or declared previously. -- 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
[jira] [Updated] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-3786: - Labels: jdk14 (was: jdk14 pull-request-available) > Hint "add imports" is not in a right place(Record -JDK 14) > -- > > Key: NETBEANS-3786 > URL: https://issues.apache.org/jira/browse/NETBEANS-3786 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14 > > Write below code snippet on editor and use hint "*add import*" for List > interface. > public record Test(String s, int i, int j){ > static List list= null; > } > Actual Result: > Import statement comes at the end of record body. This change shows compile > time error on editor. > > Excepted Result > Import statement should come after package declaration or before start of > record body. > > Note : This issue occurs only when there is no other import statement > available or declared previously. -- 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
[jira] [Commented] (NETBEANS-3702) Hint "implements all abstract method" is not working with record (JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028678#comment-17028678 ] Akhilesh Singh commented on NETBEANS-3702: -- [https://github.com/apache/netbeans/pull/1907] > Hint "implements all abstract method" is not working with record (JDK 14) > - > > Key: NETBEANS-3702 > URL: https://issues.apache.org/jira/browse/NETBEANS-3702 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Below code snippet throwing null pointer exception while generating override > method using hints. > record MyRecrod(int i) implements Runnable { > } -- 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
[jira] [Resolved] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-3786. -- Fix Version/s: 11.3 Resolution: Fixed Merged in master > Hint "add imports" is not in a right place(Record -JDK 14) > -- > > Key: NETBEANS-3786 > URL: https://issues.apache.org/jira/browse/NETBEANS-3786 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > Fix For: 11.3 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > Write below code snippet on editor and use hint "*add import*" for List > interface. > public record Test(String s, int i, int j){ > static List list= null; > } > Actual Result: > Import statement comes at the end of record body. This change shows compile > time error on editor. > > Excepted Result > Import statement should come after package declaration or before start of > record body. > > Note : This issue occurs only when there is no other import statement > available or declared previously. -- 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
[jira] [Assigned] (NETBEANS-3580) Expression Lambdas cannot be debugged
[ https://issues.apache.org/jira/browse/NETBEANS-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-3580: Assignee: Akhilesh Singh (was: Akshay Gupta) > Expression Lambdas cannot be debugged > - > > Key: NETBEANS-3580 > URL: https://issues.apache.org/jira/browse/NETBEANS-3580 > Project: NetBeans > Issue Type: Improvement > Components: debugger - Java >Affects Versions: 11.2, 11.3 >Reporter: Jan Lahoda >Assignee: Akhilesh Singh >Priority: Critical > Labels: debug, lambda > > Consider this source code: > {{package org.netbeans.modules.learning.lambda.code.completion;}} > {{import java.util.Arrays;}} > {{public class NewClass {}} > {{ public static void main(String... args) {}} > {{ Arrays.stream(new String[] \{"a", "", "b"})}} > {{ .filter(s -> !s.isEmpty()) //breakpoint here}} > {{ .forEach(System.err::println);}} > \{{ }}} > {{}}} > > Add a breakpoint at the marked line, and run the code under the debugger. The > debugger will stop on the breakpoint for the "filter" method invocation (OK), > but it will not stop there for the lambda invocation (bad). So with a code > like this, one does not see the lambda parameters, cannot step inside, etc. > Workaround is to place the expression on a new line: > {\{ .filter(s -> }} > \{{ !s.isEmpty()) //breakpoint here}} > But that requires a change to the code just for debugging - and that defies > the purpose of debugging (which is to inspect the code *without* changes). > The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed > running on JDK 13: > Product Version: Apache NetBeans IDE 11.2 > Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9 > Runtime: OpenJDK Runtime Environment 13.0.1+9 > System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb) > User directory: /tmp/nbuser.lambda.test > Cache directory: /tmp/nbuser.lambda.test/var/cache -- 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
[jira] [Commented] (NETBEANS-3580) Expression Lambdas cannot be debugged
[ https://issues.apache.org/jira/browse/NETBEANS-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072813#comment-17072813 ] Akhilesh Singh commented on NETBEANS-3580: -- PR raised for this defect fix [https://github.com/apache/netbeans/pull/2055] > Expression Lambdas cannot be debugged > - > > Key: NETBEANS-3580 > URL: https://issues.apache.org/jira/browse/NETBEANS-3580 > Project: NetBeans > Issue Type: Improvement > Components: debugger - Java >Affects Versions: 11.2, 11.3 >Reporter: Jan Lahoda >Assignee: Akhilesh Singh >Priority: Critical > Labels: debug, lambda, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Consider this source code: > {{package org.netbeans.modules.learning.lambda.code.completion;}} > {{import java.util.Arrays;}} > {{public class NewClass {}} > {{ public static void main(String... args) {}} > {{ Arrays.stream(new String[] \{"a", "", "b"})}} > {{ .filter(s -> !s.isEmpty()) //breakpoint here}} > {{ .forEach(System.err::println);}} > \{{ }}} > {{}}} > > Add a breakpoint at the marked line, and run the code under the debugger. The > debugger will stop on the breakpoint for the "filter" method invocation (OK), > but it will not stop there for the lambda invocation (bad). So with a code > like this, one does not see the lambda parameters, cannot step inside, etc. > Workaround is to place the expression on a new line: > {\{ .filter(s -> }} > \{{ !s.isEmpty()) //breakpoint here}} > But that requires a change to the code just for debugging - and that defies > the purpose of debugging (which is to inspect the code *without* changes). > The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed > running on JDK 13: > Product Version: Apache NetBeans IDE 11.2 > Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9 > Runtime: OpenJDK Runtime Environment 13.0.1+9 > System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb) > User directory: /tmp/nbuser.lambda.test > Cache directory: /tmp/nbuser.lambda.test/var/cache -- 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
[jira] [Resolved] (NETBEANS-3580) Expression Lambdas cannot be debugged
[ https://issues.apache.org/jira/browse/NETBEANS-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-3580. -- Resolution: Fixed > Expression Lambdas cannot be debugged > - > > Key: NETBEANS-3580 > URL: https://issues.apache.org/jira/browse/NETBEANS-3580 > Project: NetBeans > Issue Type: Improvement > Components: debugger - Java >Affects Versions: 11.2, 11.3 >Reporter: Jan Lahoda >Assignee: Akhilesh Singh >Priority: Critical > Labels: debug, lambda, pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > Consider this source code: > {{package org.netbeans.modules.learning.lambda.code.completion;}} > {{import java.util.Arrays;}} > {{public class NewClass {}} > {{ public static void main(String... args) {}} > {{ Arrays.stream(new String[] \{"a", "", "b"})}} > {{ .filter(s -> !s.isEmpty()) //breakpoint here}} > {{ .forEach(System.err::println);}} > \{{ }}} > {{}}} > > Add a breakpoint at the marked line, and run the code under the debugger. The > debugger will stop on the breakpoint for the "filter" method invocation (OK), > but it will not stop there for the lambda invocation (bad). So with a code > like this, one does not see the lambda parameters, cannot step inside, etc. > Workaround is to place the expression on a new line: > {\{ .filter(s -> }} > \{{ !s.isEmpty()) //breakpoint here}} > But that requires a change to the code just for debugging - and that defies > the purpose of debugging (which is to inspect the code *without* changes). > The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed > running on JDK 13: > Product Version: Apache NetBeans IDE 11.2 > Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9 > Runtime: OpenJDK Runtime Environment 13.0.1+9 > System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb) > User directory: /tmp/nbuser.lambda.test > Cache directory: /tmp/nbuser.lambda.test/var/cache -- 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
[jira] [Created] (NETBEANS-4400) Record (preview feature) name refactoring not working.
Akhilesh Singh created NETBEANS-4400: Summary: Record (preview feature) name refactoring not working. Key: NETBEANS-4400 URL: https://issues.apache.org/jira/browse/NETBEANS-4400 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: OpenJDK Runtime Environment 14-ea+27-1339 Reporter: Akhilesh Singh Renaming record name using refactoring(crtl+R) throwing exception. Steps to reproduce: 1. Create a class of type record: e.g public record RecordNameRefactor(){} 2. Try to change/rename the record class name using Refactor->name option or (crtl + R) Actual Result : Throwing exception on UI Expected Result : NB UI should allow to rename record Stack Trace : java.lang.IllegalArgumentException: Invalid node's kind. Supported kinds are BREAK, CLASS, CONTINUE, IDENTIFIER, LABELED_STATEMENT, MEMBER_SELECT, METHOD, TYPE_PARAMETER, VARIABLE at org.netbeans.api.java.source.TreeMaker.setLabelImpl(TreeMaker.java:2996) at org.netbeans.api.java.source.TreeMaker.setLabel(TreeMaker.java:2856) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.renameDeclIfMatch(RenameTransformer.java:435) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitClass(RenameTransformer.java:396) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitClass(RenameTransformer.java:59) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:824) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.scan(RenameTransformer.java:87) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.scan(RenameTransformer.java:59) at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113) at jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitCompilationUnit(RenameTransformer.java:115) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitCompilationUnit(RenameTransformer.java:59) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:604) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.scan(RenameTransformer.java:87) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:443) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:408) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:317) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:263) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:245) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.createAndAddE
[jira] [Assigned] (NETBEANS-4400) Record (preview feature) name refactoring not working.
[ https://issues.apache.org/jira/browse/NETBEANS-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh reassigned NETBEANS-4400: Assignee: Akhilesh Singh > Record (preview feature) name refactoring not working. > --- > > Key: NETBEANS-4400 > URL: https://issues.apache.org/jira/browse/NETBEANS-4400 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: OpenJDK Runtime Environment 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14 > > Renaming record name using refactoring(crtl+R) throwing exception. > Steps to reproduce: > 1. Create a class of type record: > e.g public record RecordNameRefactor(){} > 2. Try to change/rename the record class name using Refactor->name option or > (crtl + R) > > Actual Result : Throwing exception on UI > Expected Result : NB UI should allow to rename record > > Stack Trace : > java.lang.IllegalArgumentException: Invalid node's kind. Supported kinds are > BREAK, CLASS, CONTINUE, IDENTIFIER, LABELED_STATEMENT, MEMBER_SELECT, METHOD, > TYPE_PARAMETER, VARIABLE > at org.netbeans.api.java.source.TreeMaker.setLabelImpl(TreeMaker.java:2996) > at org.netbeans.api.java.source.TreeMaker.setLabel(TreeMaker.java:2856) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.renameDeclIfMatch(RenameTransformer.java:435) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitClass(RenameTransformer.java:396) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitClass(RenameTransformer.java:59) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:824) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.scan(RenameTransformer.java:87) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.scan(RenameTransformer.java:59) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitCompilationUnit(RenameTransformer.java:115) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitCompilationUnit(RenameTransformer.java:59) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:604) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192) > at > org.netbeans.modules.refactoring.java.plugins.RenameTransformer.scan(RenameTransformer.java:87) > at > org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:443) > at > org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:408) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) > at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) > at > org.netbeans.api.java.source.JavaSour
[jira] [Created] (NETBEANS-4414) Feature "find usage" is not working for RECORD
Akhilesh Singh created NETBEANS-4414: Summary: Feature "find usage" is not working for RECORD Key: NETBEANS-4414 URL: https://issues.apache.org/jira/browse/NETBEANS-4414 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 12.0 Environment: Java: 14; OpenJDK 64-Bit Server VM 14+36-1461 Runtime: OpenJDK Runtime Environment 14+36-1461 Reporter: Akhilesh Singh Attachments: FindUsage.png Steps to reproduce: 1.Create any Record. e.g. public record RecordMain() { public static void main(String ar[]){ System.out.println("hw"); } } 2. Select record name "RecordMain" then Right click on the editor and select Find Usage Actual Output: Throwing exception : java.lang.ClassCastException: Expected Output: Should find the usage of record, if not found show empty. -- 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