[jira] [Updated] (NETBEANS-1969) Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12)
[ https://issues.apache.org/jira/browse/NETBEANS-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA updated NETBEANS-1969: Fix Version/s: 11.0 > Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12) > -- > > Key: NETBEANS-1969 > URL: https://issues.apache.org/jira/browse/NETBEANS-1969 > Project: NetBeans > Issue Type: Task >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Labels: NB-JDK12, pull-request-available > Fix For: 11.0 > > Time Spent: 20m > Remaining Estimate: 0h > > NPE thrown in Rule-Switch (JDK-12) > switch (day) > { case MONDAY->^ } > On pressing Enter key at caret position null pointer exception is thrown > Also there is indentation issue with use of { in switch-rule(case->) and in > newly introduced Switch Expression in jdk-12 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1969) Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12)
[ https://issues.apache.org/jira/browse/NETBEANS-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA updated NETBEANS-1969: Description: NPE thrown in Rule-Switch (JDK-12) switch (day) { case MONDAY->^ } On pressing Enter key at caret position null pointer exception is thrown Also there is indentation issue with use of { in switch-rule(case->) and in newly introduced Switch Expression in jdk-12 was: NPE thrown in Rule-Switch (JDK-12) switch (day) { case MONDAY->^ } On pressing Enter key at caret position null pointer exception is thrown Also there is indentation issue with use of { in switch-rule > Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12) > -- > > Key: NETBEANS-1969 > URL: https://issues.apache.org/jira/browse/NETBEANS-1969 > Project: NetBeans > Issue Type: Task >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Labels: NB-JDK12 > > NPE thrown in Rule-Switch (JDK-12) > switch (day) > { case MONDAY->^ } > On pressing Enter key at caret position null pointer exception is thrown > Also there is indentation issue with use of { in switch-rule(case->) and in > newly introduced Switch Expression in jdk-12 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1969) Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12)
[ https://issues.apache.org/jira/browse/NETBEANS-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA updated NETBEANS-1969: Summary: Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12) (was: Re-indentation issue in Rule-Switch (JDK-12)) > Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12) > -- > > Key: NETBEANS-1969 > URL: https://issues.apache.org/jira/browse/NETBEANS-1969 > Project: NetBeans > Issue Type: Task >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Labels: NB-JDK12 > > NPE thrown in Rule-Switch (JDK-12) > switch (day) > { case MONDAY->^ } > On pressing Enter key at caret position null pointer exception is thrown > Also there is indentation issue with use of { in switch-rule -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1969) Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12)
[ https://issues.apache.org/jira/browse/NETBEANS-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-1969: - Labels: NB-JDK12 pull-request-available (was: NB-JDK12) > Re-indentation issue in Switch Expression and in Switch Rule-Case (JDK-12) > -- > > Key: NETBEANS-1969 > URL: https://issues.apache.org/jira/browse/NETBEANS-1969 > Project: NetBeans > Issue Type: Task >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Labels: NB-JDK12, pull-request-available > > NPE thrown in Rule-Switch (JDK-12) > switch (day) > { case MONDAY->^ } > On pressing Enter key at caret position null pointer exception is thrown > Also there is indentation issue with use of { in switch-rule(case->) and in > newly introduced Switch Expression in jdk-12 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2094) AssertionError while typing before an annotation in anonymous inner class
[ https://issues.apache.org/jira/browse/NETBEANS-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-2094: -- Description: Paste the following into a code file: {code:java} public static InputStream foo(InputStream from){ return new InputStream() { MemoryStream ms = new MemoryStream(); GZIPOutputStream compress = new GZIPOutputStream(ms.getOutputStream()); @Override public int read() throws IOException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } } {code} and try to type "byte[] buffer" above the Override Annotation. An assertion error will be thrown with the stack trace of: {noformat} Assert.error:155 Assert.checkNonNull:62 Annotate.fromAnnotations:167 Annotate.lambda$annotateTypeSecondStage$5:1031 861978341.run Annotate.flush:194 Annotate.unblockAnnotations:144 TypeEnter.complete:229 Symbol.complete:645 Symbol$ClassSymbol.complete:1352 Attr.visitClassDef:982 NBAttr.visitClassDef:61 JCTree$JCClassDecl.accept:778 Attr.attribTree:673 Attr.attribStat:749 Attr.visitAnonymousClassDefinition:2508 Attr.visitNewClass:2391 JCTree$JCNewClass.accept:1695 Attr.attribTree:673 Attr.visitReturn:1931 JCTree$JCReturn.accept:1552 Attr.attribTree:673 Attr.attribStat:749 Attr.attribStats:773 Attr.visitBlock:1350 NBAttr.visitBlock:73 JCTree$JCBlock.accept:1026 Attr.attribTree:673 Attr.attribStat:749 JavacParser.parseImpl:399 JavacParser.parse:332 TaskProcessor.callParse:598 SourceCache.getResult:228 ResultIterator.getParserResult:115 ResultIterator.getParserResult:129 TaskProcessor.callUserTask:586 ParserManager$UserTaskAction.run:130 ParserManager$UserTaskAction.run:114 TaskProcessor$2.call:181 TaskProcessor$2.call:178 FileChangedManager.priorityIO:153 ProvidedExtensions.priorityIO:335 DataObjectEnvFactory.runPriorityIO:118 Utilities.runPriorityIO:67 TaskProcessor.runUserTask:178 ParserManager.parse:81 JPACodeCompletionProvider$JPACodeCompletionQuery.query:118 AsyncCompletionTask.run:198 RequestProcessor$Task.run:1418 GlobalLookup.execute:45 Lookups.executeWith:278 RequestProcessor$Processor.run:2033 {noformat} It will also explode with a NullPointer if you try to add a variable before "MemoryStream" (e.g. "byte[] buffer =") was: Paste the following into a code file: {code:java} public static InputStream foo(InputStream from){ return new InputStream() { MemoryStream ms = new MemoryStream(); GZIPOutputStream compress = new GZIPOutputStream(ms.getOutputStream()); @Override public int read() throws IOException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } } {code} and try to type "byte[] buffer" above the Override Annotation. An assertion error will be thrown with the stack trace of: {noformat} Assert.error:155 Assert.checkNonNull:62 Annotate.fromAnnotations:167 Annotate.lambda$annotateTypeSecondStage$5:1031 861978341.run Annotate.flush:194 Annotate.unblockAnnotations:144 TypeEnter.complete:229 Symbol.complete:645 Symbol$ClassSymbol.complete:1352 Attr.visitClassDef:982 NBAttr.visitClassDef:61 JCTree$JCClassDecl.accept:778 Attr.attribTree:673 Attr.attribStat:749 Attr.visitAnonymousClassDefinition:2508 Attr.visitNewClass:2391 JCTree$JCNewClass.accept:1695 Attr.attribTree:673 Attr.visitReturn:1931 JCTree$JCReturn.accept:1552 Attr.attribTree:673 Attr.attribStat:749 Attr.attribStats:773 Attr.visitBlock:1350 NBAttr.visitBlock:73 JCTree$JCBlock.accept:1026 Attr.attribTree:673 Attr.attribStat:749 JavacParser.parseImpl:399 JavacParser.parse:332 TaskProcessor.callParse:598 SourceCache.getResult:228 ResultIterator.getParserResult:115 ResultIterator.getParserResult:129 TaskProcessor.callUserTask:586 ParserManager$UserTaskAction.run:130 ParserManager$UserTaskAction.run:114 TaskProcessor$2.call:181 TaskProcessor$2.call:178 FileChangedManager.priorityIO:153 ProvidedExtensions.priorityIO:335 DataObjectEnvFactory.runPriorityIO:118 Utilities.runPriorityIO:67 TaskProcessor.runUserTask:178 ParserManager.parse:81 JPACodeCompletionProvider$JPACodeCompletionQuery.query:118 AsyncCompletionTask.run:198 RequestProcessor$Task.run:1418 GlobalLookup.execute:45 Lookups.executeWith:278 RequestProcessor$Processor.run:2033 {noformat} It
[jira] [Updated] (NETBEANS-2094) AssertionError while typing before an annotation in anonymous inner class
[ https://issues.apache.org/jira/browse/NETBEANS-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-2094: -- Description: Paste the following into a code file: {code:java} public static InputStream foo(InputStream from){ return new InputStream() { MemoryStream ms = new MemoryStream(); GZIPOutputStream compress = new GZIPOutputStream(ms.getOutputStream()); @Override public int read() throws IOException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } } {code} and try to type "byte[] buffer" above the Override Annotation. An assertion error will be thrown with the stack trace of: {noformat} Assert.error:155 Assert.checkNonNull:62 Annotate.fromAnnotations:167 Annotate.lambda$annotateTypeSecondStage$5:1031 861978341.run Annotate.flush:194 Annotate.unblockAnnotations:144 TypeEnter.complete:229 Symbol.complete:645 Symbol$ClassSymbol.complete:1352 Attr.visitClassDef:982 NBAttr.visitClassDef:61 JCTree$JCClassDecl.accept:778 Attr.attribTree:673 Attr.attribStat:749 Attr.visitAnonymousClassDefinition:2508 Attr.visitNewClass:2391 JCTree$JCNewClass.accept:1695 Attr.attribTree:673 Attr.visitReturn:1931 JCTree$JCReturn.accept:1552 Attr.attribTree:673 Attr.attribStat:749 Attr.attribStats:773 Attr.visitBlock:1350 NBAttr.visitBlock:73 JCTree$JCBlock.accept:1026 Attr.attribTree:673 Attr.attribStat:749 JavacParser.parseImpl:399 JavacParser.parse:332 TaskProcessor.callParse:598 SourceCache.getResult:228 ResultIterator.getParserResult:115 ResultIterator.getParserResult:129 TaskProcessor.callUserTask:586 ParserManager$UserTaskAction.run:130 ParserManager$UserTaskAction.run:114 TaskProcessor$2.call:181 TaskProcessor$2.call:178 FileChangedManager.priorityIO:153 ProvidedExtensions.priorityIO:335 DataObjectEnvFactory.runPriorityIO:118 Utilities.runPriorityIO:67 TaskProcessor.runUserTask:178 ParserManager.parse:81 JPACodeCompletionProvider$JPACodeCompletionQuery.query:118 AsyncCompletionTask.run:198 RequestProcessor$Task.run:1418 GlobalLookup.execute:45 Lookups.executeWith:278 RequestProcessor$Processor.run:2033 {noformat} It will also explode with a NullPointer if you try to add a variable before "MemoryStream" was: Paste the following into a code file: {code:java} public static InputStream foo(InputStream from){ return new InputStream() { MemoryStream ms = new MemoryStream(); GZIPOutputStream compress = new GZIPOutputStream(ms.getOutputStream()); @Override public int read() throws IOException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } } {code} and try to type "byte[] buffer" above the Override Annotation. An assertion error will be thrown with the stack trace of: {noformat} Assert.error:155 Assert.checkNonNull:62 Annotate.fromAnnotations:167 Annotate.lambda$annotateTypeSecondStage$5:1031 861978341.run Annotate.flush:194 Annotate.unblockAnnotations:144 TypeEnter.complete:229 Symbol.complete:645 Symbol$ClassSymbol.complete:1352 Attr.visitClassDef:982 NBAttr.visitClassDef:61 JCTree$JCClassDecl.accept:778 Attr.attribTree:673 Attr.attribStat:749 Attr.visitAnonymousClassDefinition:2508 Attr.visitNewClass:2391 JCTree$JCNewClass.accept:1695 Attr.attribTree:673 Attr.visitReturn:1931 JCTree$JCReturn.accept:1552 Attr.attribTree:673 Attr.attribStat:749 Attr.attribStats:773 Attr.visitBlock:1350 NBAttr.visitBlock:73 JCTree$JCBlock.accept:1026 Attr.attribTree:673 Attr.attribStat:749 JavacParser.parseImpl:399 JavacParser.parse:332 TaskProcessor.callParse:598 SourceCache.getResult:228 ResultIterator.getParserResult:115 ResultIterator.getParserResult:129 TaskProcessor.callUserTask:586 ParserManager$UserTaskAction.run:130 ParserManager$UserTaskAction.run:114 TaskProcessor$2.call:181 TaskProcessor$2.call:178 FileChangedManager.priorityIO:153 ProvidedExtensions.priorityIO:335 DataObjectEnvFactory.runPriorityIO:118 Utilities.runPriorityIO:67 TaskProcessor.runUserTask:178 ParserManager.parse:81 JPACodeCompletionProvider$JPACodeCompletionQuery.query:118 AsyncCompletionTask.run:198 RequestProcessor$Task.run:1418 GlobalLookup.execute:45 Lookups.executeWith:278 RequestProcessor$Processor.run:2033 {noformat} > AssertionError
[jira] [Created] (NETBEANS-2094) AssertionError while typing before an annotation in anonymous inner class
Austin Stephens created NETBEANS-2094: - Summary: AssertionError while typing before an annotation in anonymous inner class Key: NETBEANS-2094 URL: https://issues.apache.org/jira/browse/NETBEANS-2094 Project: NetBeans Issue Type: Bug Components: java - Source Affects Versions: 10.0 Reporter: Austin Stephens Paste the following into a code file: {code:java} public static InputStream foo(InputStream from){ return new InputStream() { MemoryStream ms = new MemoryStream(); GZIPOutputStream compress = new GZIPOutputStream(ms.getOutputStream()); @Override public int read() throws IOException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } } {code} and try to type "byte[] buffer" above the Override Annotation. An assertion error will be thrown with the stack trace of: {noformat} Assert.error:155 Assert.checkNonNull:62 Annotate.fromAnnotations:167 Annotate.lambda$annotateTypeSecondStage$5:1031 861978341.run Annotate.flush:194 Annotate.unblockAnnotations:144 TypeEnter.complete:229 Symbol.complete:645 Symbol$ClassSymbol.complete:1352 Attr.visitClassDef:982 NBAttr.visitClassDef:61 JCTree$JCClassDecl.accept:778 Attr.attribTree:673 Attr.attribStat:749 Attr.visitAnonymousClassDefinition:2508 Attr.visitNewClass:2391 JCTree$JCNewClass.accept:1695 Attr.attribTree:673 Attr.visitReturn:1931 JCTree$JCReturn.accept:1552 Attr.attribTree:673 Attr.attribStat:749 Attr.attribStats:773 Attr.visitBlock:1350 NBAttr.visitBlock:73 JCTree$JCBlock.accept:1026 Attr.attribTree:673 Attr.attribStat:749 JavacParser.parseImpl:399 JavacParser.parse:332 TaskProcessor.callParse:598 SourceCache.getResult:228 ResultIterator.getParserResult:115 ResultIterator.getParserResult:129 TaskProcessor.callUserTask:586 ParserManager$UserTaskAction.run:130 ParserManager$UserTaskAction.run:114 TaskProcessor$2.call:181 TaskProcessor$2.call:178 FileChangedManager.priorityIO:153 ProvidedExtensions.priorityIO:335 DataObjectEnvFactory.runPriorityIO:118 Utilities.runPriorityIO:67 TaskProcessor.runUserTask:178 ParserManager.parse:81 JPACodeCompletionProvider$JPACodeCompletionQuery.query:118 AsyncCompletionTask.run:198 RequestProcessor$Task.run:1418 GlobalLookup.execute:45 Lookups.executeWith:278 RequestProcessor$Processor.run:2033 {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-180) Please support the Language Server Protocol
[ https://issues.apache.org/jira/browse/NETBEANS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz reassigned NETBEANS-180: --- Assignee: Christian Lenz (was: Jan Lahoda) > Please support the Language Server Protocol > --- > > Key: NETBEANS-180 > URL: https://issues.apache.org/jira/browse/NETBEANS-180 > Project: NetBeans > Issue Type: New Feature > Components: editor - Lexer, editor - Other, editor - Parsing > Indexing >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Christian Lenz >Priority: Major > > As you can see it here: > https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and > here: https://github.com/Microsoft/language-server-protocol this stuff gets > very hot these days. It's about to have a commong language server, which > handles the language by them self and will send you errors, warnings, code > completion and many more without creating a new language support into the > IDE. This is very cool, so for netbeans it would be possible only to create > file templates and projects, not more, the rest will do the commong language > server protocol. > Cheers > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-180) Please support the Language Server Protocol
[ https://issues.apache.org/jira/browse/NETBEANS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762793#comment-16762793 ] Christian Lenz commented on NETBEANS-180: - Hey [~jlahoda] I hope that it is ok, that I gave you that ticket. I think it is merged, right? If so, you an resolve the ticket as implemtented. Thx :) > Please support the Language Server Protocol > --- > > Key: NETBEANS-180 > URL: https://issues.apache.org/jira/browse/NETBEANS-180 > Project: NetBeans > Issue Type: New Feature > Components: editor - Lexer, editor - Other, editor - Parsing > Indexing >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Christian Lenz >Priority: Major > > As you can see it here: > https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and > here: https://github.com/Microsoft/language-server-protocol this stuff gets > very hot these days. It's about to have a commong language server, which > handles the language by them self and will send you errors, warnings, code > completion and many more without creating a new language support into the > IDE. This is very cool, so for netbeans it would be possible only to create > file templates and projects, not more, the rest will do the commong language > server protocol. > Cheers > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2093) Show method structure in hints on hover
[ https://issues.apache.org/jira/browse/NETBEANS-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bo Andersen updated NETBEANS-2093: -- Description: Netbeans dosn't show any useful information if PHPDoc is missing. As PHP get more and more type safe, relying on the doc-block seems to be a bad choice. !image-2019-02-07-16-53-57-447.png! In other IDEs you actually can se method declaration, paramters and return type, this could be very useful in Netbeans as well :) !image-2019-02-07-16-54-33-603.png! was: Netbeans dosn't show any useful information if PHPDoc is missing. As PHP get more and more type safe, relying on the doc-block seems to be a bad choose. !image-2019-02-07-16-53-57-447.png! In other IDEs you actually can se method declaration, paramters and return type, this could be very useful in Netbeans as well :) !image-2019-02-07-16-54-33-603.png! > Show method structure in hints on hover > --- > > Key: NETBEANS-2093 > URL: https://issues.apache.org/jira/browse/NETBEANS-2093 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 10.0 >Reporter: Bo Andersen >Priority: Major > Attachments: image-2019-02-07-16-53-57-447.png, > image-2019-02-07-16-54-33-603.png > > > Netbeans dosn't show any useful information if PHPDoc is missing. As PHP get > more and more type safe, relying on the doc-block seems to be a bad choice. > !image-2019-02-07-16-53-57-447.png! > In other IDEs you actually can se method declaration, paramters and return > type, this could be very useful in Netbeans as well :) > !image-2019-02-07-16-54-33-603.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2093) Show method structure in hints on hover
Bo Andersen created NETBEANS-2093: - Summary: Show method structure in hints on hover Key: NETBEANS-2093 URL: https://issues.apache.org/jira/browse/NETBEANS-2093 Project: NetBeans Issue Type: Improvement Components: php - Editor Affects Versions: 10.0 Reporter: Bo Andersen Attachments: image-2019-02-07-16-53-57-447.png, image-2019-02-07-16-54-33-603.png Netbeans dosn't show any useful information if PHPDoc is missing. As PHP get more and more type safe, relying on the doc-block seems to be a bad choose. !image-2019-02-07-16-53-57-447.png! In other IDEs you actually can se method declaration, paramters and return type, this could be very useful in Netbeans as well :) !image-2019-02-07-16-54-33-603.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-180) Please support the Language Server Protocol
[ https://issues.apache.org/jira/browse/NETBEANS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz reassigned NETBEANS-180: --- Assignee: Jan Lahoda > Please support the Language Server Protocol > --- > > Key: NETBEANS-180 > URL: https://issues.apache.org/jira/browse/NETBEANS-180 > Project: NetBeans > Issue Type: New Feature > Components: editor - Lexer, editor - Other, editor - Parsing > Indexing >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > > As you can see it here: > https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and > here: https://github.com/Microsoft/language-server-protocol this stuff gets > very hot these days. It's about to have a commong language server, which > handles the language by them self and will send you errors, warnings, code > completion and many more without creating a new language support into the > IDE. This is very cool, so for netbeans it would be possible only to create > file templates and projects, not more, the rest will do the commong language > server protocol. > Cheers > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-116) Consistent behaviour of select next/previous element in each editor
[ https://issues.apache.org/jira/browse/NETBEANS-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762786#comment-16762786 ] Christian Lenz commented on NETBEANS-116: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_smart-selections (It shows JS) > Consistent behaviour of select next/previous element in each editor > --- > > Key: NETBEANS-116 > URL: https://issues.apache.org/jira/browse/NETBEANS-116 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor, db - SQL Editor, java - Editor, javascript > - Editor, javascript - JSON, php - Editor, web - CSS Editor, web - CSS > Preprocessors (SASS, LESS, ...), web - HTML Editor >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > > We need a consistent behaviour in the each editor for "select next/previous > element". It is so inconsistent and it is only working well in the java > editor. > I will create subtickets for each editor. Next element selection should be > separated for those characters in strings: `$-,.;:SPACE{}()[]\/'"*+#` and > maybe some others but I don't know. > Examples: > "This is my string"; So is the cursor in "my" and I hit the "Select next > element action", it should select "my" after hitting it again, it should > select the whole string w/o quotes. After hitting again, it should select the > string with quotes. > "test \-r test"; Cursor is before "-" and hitting the action, it should > select the whole string, or -r I don't now. In IntelliJ it selecets the whole > string. If the cursor is before the "r" it selects "r" first, aftert hitting > again, it selects the whole string. > "^3.0.0"; Cursor is before "3", after hitting the action, it should select > "3". After hitting again, it should select the whole string. > It is a bit complicated to describe but for strings it should be consistent > in Java, JS, CSS, SCSS, LESS, HTML, C/C++, PHP, JSON and so on. As I said I > will create sub tickets for the editors. > The next thing is that there is more than strings. So the next consistency is > needed for blocks like if, for, functions, classes etc. All of this alreday > exists more or less for Java and JS but not that good. Please have a look > into IntelliJ or WebStorm and hit ctrl + w for this feature. It works like a > charm on each editor. > So "Select previous element" should work the other way around to unselect the > last selection. > So there we have HTML, XHTML and XML, where it should work too. It is only > working ok in HTML but not perfect. > Regards > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-119) Add support for select next/previous element for XML editor
[ https://issues.apache.org/jira/browse/NETBEANS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762782#comment-16762782 ] Christian Lenz edited comment on NETBEANS-119 at 2/7/19 3:46 PM: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection (It shows HTML, CSS, JSON) was (Author: chrizzly): Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection > Add support for select next/previous element for XML editor > --- > > Key: NETBEANS-119 > URL: https://issues.apache.org/jira/browse/NETBEANS-119 > Project: NetBeans > Issue Type: Sub-task > Components: xml - Text-Edit >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Attachments: xml-attr-widen-selection.gif, xml-tag-widen-selection.gif > > > Unfortunately there is no functionality for select next/previous element for > the XML editor. In my atattachment you can see what I whish for the XML > editor for tags and attributes. It should work from tag-name -> complete tag > w/o brackets -> to complete tag with brackets -> to line -> to block w/o > next tag -> to block with next tag -> to next block w/o tag -> to next block > with tag, and so on. > So in WebStorm it works pretty well, as you can see. > See the parent ticket for more information. > The attachments are from WebStorm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2088) Netbeans Platform Application with NB 10 not printing to output console
[ https://issues.apache.org/jira/browse/NETBEANS-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762791#comment-16762791 ] Artur Sonnenhohl commented on NETBEANS-2088: Something related with JDK for windows maybe? My friend also is having the same problem on Windows. > Netbeans Platform Application with NB 10 not printing to output console > --- > > Key: NETBEANS-2088 > URL: https://issues.apache.org/jira/browse/NETBEANS-2088 > Project: NetBeans > Issue Type: Bug > Components: platform - Output Window >Affects Versions: 10.0 > Environment: WIN 10 x64, NB 10, JDK 11.0.1 >Reporter: Artur Sonnenhohl >Priority: Critical > Attachments: application4.zip > > > I'm unable to see stack traces and print to the console of the NB 10 IDE > while developing an application over the NB Platform. > > Attached is a simple platform application to reproduce the problem. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-173) Make select next element in PHP editor consistent to other editors
[ https://issues.apache.org/jira/browse/NETBEANS-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762787#comment-16762787 ] Christian Lenz commented on NETBEANS-173: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_smart-selections (It shows JS) > Make select next element in PHP editor consistent to other editors > -- > > Key: NETBEANS-173 > URL: https://issues.apache.org/jira/browse/NETBEANS-173 > Project: NetBeans > Issue Type: Sub-task > Components: php - Editor >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > > Atm, when you do the select next element action inside a string, it will > ignore everything inside the string, no whole word, no being aware of spaces > or other characters like /\-_.;, it will select the whole string WITH quotes, > which is a complete different behaviour than in java. > "test tests tests" -> cursor inside of the second tests word -> hit the > action -> tests should be selected -> hit action again -> whole string should > be selected w/o quotes -> hit it again -> whole string should be selected w/ > quotes -> hit action again -> do it further for next block/word w/o brackets > w/ brackets etc. As described in the other sub tasks. > I will add little screen captures soon too. > Cheers > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-119) Add support for select next/previous element for XML editor
[ https://issues.apache.org/jira/browse/NETBEANS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762782#comment-16762782 ] Christian Lenz commented on NETBEANS-119: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection > Add support for select next/previous element for XML editor > --- > > Key: NETBEANS-119 > URL: https://issues.apache.org/jira/browse/NETBEANS-119 > Project: NetBeans > Issue Type: Sub-task > Components: xml - Text-Edit >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Attachments: xml-attr-widen-selection.gif, xml-tag-widen-selection.gif > > > Unfortunately there is no functionality for select next/previous element for > the XML editor. In my atattachment you can see what I whish for the XML > editor for tags and attributes. It should work from tag-name -> complete tag > w/o brackets -> to complete tag with brackets -> to line -> to block w/o > next tag -> to block with next tag -> to next block w/o tag -> to next block > with tag, and so on. > So in WebStorm it works pretty well, as you can see. > See the parent ticket for more information. > The attachments are from WebStorm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-118) Add support for select next/previous element for SCSS & LESS editor
[ https://issues.apache.org/jira/browse/NETBEANS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762783#comment-16762783 ] Christian Lenz edited comment on NETBEANS-118 at 2/7/19 3:45 PM: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection (It shows HTML, CSS, JSON) was (Author: chrizzly): Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection > Add support for select next/previous element for SCSS & LESS editor > --- > > Key: NETBEANS-118 > URL: https://issues.apache.org/jira/browse/NETBEANS-118 > Project: NetBeans > Issue Type: Sub-task > Components: web - CSS Preprocessors (SASS, LESS, ...) >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Attachments: scss-widen-selection.gif > > > Unfortunately there is no functionality for select next/previous element for > the SCSS & LESS Editor. In my atattachment you can see what I whish for this > editor. It should work from word -> to string selection -> to string with > quotes -> to line -> to block w/o brackets -> to block with brackets -> to > next block w/o brackets -> to next block with brackets, and so on. > So in WebStorm it works pretty well, as you can see, but it selects the block > WITH brackets. Often you only want to have the code inside the brackets, so > it would be better to select the block w/o brackets and hitting the action > again, should select the brackets then. > See the parent ticket for more information. > The attachment is from WebStorm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-118) Add support for select next/previous element for SCSS & LESS editor
[ https://issues.apache.org/jira/browse/NETBEANS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762783#comment-16762783 ] Christian Lenz commented on NETBEANS-118: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection > Add support for select next/previous element for SCSS & LESS editor > --- > > Key: NETBEANS-118 > URL: https://issues.apache.org/jira/browse/NETBEANS-118 > Project: NetBeans > Issue Type: Sub-task > Components: web - CSS Preprocessors (SASS, LESS, ...) >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Attachments: scss-widen-selection.gif > > > Unfortunately there is no functionality for select next/previous element for > the SCSS & LESS Editor. In my atattachment you can see what I whish for this > editor. It should work from word -> to string selection -> to string with > quotes -> to line -> to block w/o brackets -> to block with brackets -> to > next block w/o brackets -> to next block with brackets, and so on. > So in WebStorm it works pretty well, as you can see, but it selects the block > WITH brackets. Often you only want to have the code inside the brackets, so > it would be better to select the block w/o brackets and hitting the action > again, should select the brackets then. > See the parent ticket for more information. > The attachment is from WebStorm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-117) Add support for select next/previous element for JSON editor
[ https://issues.apache.org/jira/browse/NETBEANS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762784#comment-16762784 ] Christian Lenz commented on NETBEANS-117: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection (It shows HTML, CSS, JSON) > Add support for select next/previous element for JSON editor > > > Key: NETBEANS-117 > URL: https://issues.apache.org/jira/browse/NETBEANS-117 > Project: NetBeans > Issue Type: Sub-task > Components: javascript - JSON >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Attachments: json-widen-selection.gif > > > Unfortunately there is no functionality for select next/previous element for > the JSON editor. In my atattachment you can see what I whish for the JSON > editor. It should work from word -> to string selection -> to string with > quotes -> to line -> to block w/o brackets -> to block with brackets -> to > next block w/o brackets -> to next block with brackets, and so on. > So in WebStorm it works pretty well, as you can see, but it selects the block > WITH brackets. Often you only want to have the code inside the brackets, so > it would be better to select the block w/o brackets and hitting the action > again, should select the brackets then. > See the parent ticket for more information. > The attachment is from WebStorm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-174) Make select next element in (X)HTML editor consistent to other editors
[ https://issues.apache.org/jira/browse/NETBEANS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762781#comment-16762781 ] Christian Lenz commented on NETBEANS-174: - Here you can see another result (From the newest VS Code version 1.31.0), how it should behave: https://code.visualstudio.com/updates/v1_31#_semantic-selection > Make select next element in (X)HTML editor consistent to other editors > -- > > Key: NETBEANS-174 > URL: https://issues.apache.org/jira/browse/NETBEANS-174 > Project: NetBeans > Issue Type: Sub-task > Components: web - HTML Editor >Affects Versions: Next >Reporter: Christian Lenz >Priority: Major > Attachments: html-attr-widen-selection.gif, > html-tag-widen-selection.gif > > > In my atattachment you can see what I wish for the HTML editor for tags and > attributes. It should work from tag-name -> complete tag w/o brackets -> to > complete tag with brackets -> to line -> to block w/o next tag -> to block > with next tag -> to next block w/o tag -> to next block with tag, and so on. > So in WebStorm it works pretty well, as you can see. > See the parent ticket for more information. > The attachments are from WebStorm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2088) Netbeans Platform Application with NB 10 not printing to output console
[ https://issues.apache.org/jira/browse/NETBEANS-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762776#comment-16762776 ] Rami Swailem commented on NETBEANS-2088: I have no problem My Env *Product Version:*application4 20190207-1340caf09590 *Java:*13-ea; OpenJDK 64-Bit Server VM 13-ea+6 *Runtime:*OpenJDK Runtime Environment 13-ea+6 *System:*Mac OS X version 10.13.6 running on x86_64; UTF-8; en_DE (application4) *User directory:*/Users/rami/Downloads/application4/build/testuserdir *Cache directory:*/Users/rami/Downloads/application4/build/testuserdir/var/cache platform.download: ant -f /Users/rami/Downloads/application4 run branding: files-init: release: build: org.teste.module1.taskdefs: org.teste.module1.common-init: org.teste.module1.projectized-common.basic-init: org.teste.module1.basic-init: org.teste.module1.files-init: org.teste.module1.nbm-license-init: org.teste.module1.build-init: Scanning for modules in /Users/rami/NetBeansProjects/netbeans/platform Scanning for modules in suite /Users/rami/Downloads/application4 org.teste.module1.init: org.teste.module1.up-to-date: org.teste.module1.compile: org.teste.module1.jar-prep: org.teste.module1.jar: org.teste.module1.netbeans-extra: org.teste.module1.javahelp: org.teste.module1.module-auto-deps: org.teste.module1.release: org.teste.module1.module-xml-regular: org.teste.module1.module-xml-autoload: org.teste.module1.module-xml-eager: org.teste.module1.chmod-executables: org.teste.module1.verify-class-linkage: 0 file(s) have been successfully validated. org.teste.module1.netbeans: Generating Auto Update information for org.teste.module1 run: run.run: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/Users/rami/NetBeansProjects/netbeans/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release --- >Log Session: Thursday, February 7, 2019 at 4:40:23 PM Central European >Standard Time >System Info: Product Version = application4 20190207-1340caf09590 Operating System = Mac OS X version 10.13.6 running on x86_64 Java; VM; Vendor = 13-ea; OpenJDK 64-Bit Server VM 13-ea+6; Oracle Corporation Runtime = OpenJDK Runtime Environment 13-ea+6 Java Home = /Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home System Locale; Encoding = en_DE (application4); UTF-8 Home Directory = /Users/rami Current Directory = /Users/rami/Downloads/application4 User Directory = /Users/rami/Downloads/application4/build/testuserdir Cache Directory = /Users/rami/Downloads/application4/build/testuserdir/var/cache Installation = /Users/rami/Downloads/application4/build/cluster /Users/rami/NetBeansProjects/netbeans/platform /Users/rami/NetBeansProjects/netbeans/platform Boot & Ext. Classpath = Application Classpath = /Users/rami/NetBeansProjects/netbeans/platform/lib/boot.jar:/Users/rami/NetBeansProjects/netbeans/platform/lib/org-openide-modules.jar:/Users/rami/NetBeansProjects/netbeans/platform/lib/org-openide-util-lookup.jar:/Users/rami/NetBeansProjects/netbeans/platform/lib/org-openide-util-ui.jar:/Users/rami/NetBeansProjects/netbeans/platform/lib/org-openide-util.jar Startup Classpath = /Users/rami/NetBeansProjects/netbeans/platform/core/asm-all-5.0.1.jar:/Users/rami/NetBeansProjects/netbeans/platform/core/core-base.jar:/Users/rami/NetBeansProjects/netbeans/platform/core/core.jar:/Users/rami/NetBeansProjects/netbeans/platform/core/org-netbeans-libs-asm.jar:/Users/rami/NetBeansProjects/netbeans/platform/core/org-openide-filesystems-compat8.jar:/Users/rami/NetBeansProjects/netbeans/platform/core/org-openide-filesystems.jar:/Users/rami/Downloads/application4/build/cluster/core/locale/core_application4.jar --- INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.openide.util.lookup [8.37 20190207-1340caf09590] org.openide.util [9.11 20190207-1340caf09590] org.openide.util.ui [9.12 20190207-1340caf09590] org.openide.modules [7.52 20190207-1340caf09590] org.netbeans.api.annotations.common/1 [1.31 20190207-1340caf09590] org.openide.filesystems [9.14 20190207-1340caf09590] org.openide.awt [7.72 20190207-1340caf09590] org.netbeans.api.progress/1 [1.51 20190207-1340caf09590] org.netbeans.api.progress.nb [1.51 20190207-1340caf09590] org.openide.dialogs [7.46 20190207-1340caf09590] org.openide.nodes [7.49 20190207-1340caf09590] org.openide.windows [6.80 20190207-1340caf09590] org.netbeans.swing.tabcontrol [
[jira] [Updated] (NETBEANS-2092) Navigator window doesn't move the source cursor to clicked element
[ https://issues.apache.org/jira/browse/NETBEANS-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Titum updated NETBEANS-2092: Summary: Navigator window doesn't move the source cursor to clicked element (was: Navigator doesn't go to source) > Navigator window doesn't move the source cursor to clicked element > -- > > Key: NETBEANS-2092 > URL: https://issues.apache.org/jira/browse/NETBEANS-2092 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0 > Environment: windows 10 >Reporter: Titum >Priority: Minor > > Very often, double-click on an element of the navigator window does not move > the cursor to the element into the source. Right-click>"Go to source" has the > same problem. > It highlights the asked element few seconds without moving into the source, > then the navigator goes back to select the current cursor position (which has > not changed), so the cursor didn't move to the selected element. > It happens in PHP, javascript, css... -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2091) Netbeans froze on large project git branch switch
modest created NETBEANS-2091: Summary: Netbeans froze on large project git branch switch Key: NETBEANS-2091 URL: https://issues.apache.org/jira/browse/NETBEANS-2091 Project: NetBeans Issue Type: Bug Affects Versions: 10.0 Reporter: modest Attachments: nb-error-log.xml, nb-error-modules-disabled.xml, nb-error-modules.xml, nb-error-usr-config.xml, nb-error.xml At time of error, Netbeans had two Gradle parent projects, with one sub-project from each open. Performed a branch switch on one of the Gradle parent project which is quite large. The branch switch caused a re-index file changes etc. which ended up freezing. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2092) Navigator doesn't go to source
Titum created NETBEANS-2092: --- Summary: Navigator doesn't go to source Key: NETBEANS-2092 URL: https://issues.apache.org/jira/browse/NETBEANS-2092 Project: NetBeans Issue Type: Bug Affects Versions: 10.0 Environment: windows 10 Reporter: Titum Very often, double-click on an element of the navigator window does not move the cursor to the element into the source. Right-click>"Go to source" has the same problem. It highlights the asked element few seconds without moving into the source, then the navigator goes back to select the current cursor position (which has not changed), so the cursor didn't move to the selected element. It happens in PHP, javascript, css... -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2004) Gradle modular project shows errors in all classes, but tasks run fine
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762654#comment-16762654 ] Christian edited comment on NETBEANS-2004 at 2/7/19 1:33 PM: - I run into something similar. I have a simple gradle modular project with one test-class 'PropertyChangeListenerTest.java' and netbeans is showing me an error on the import statement of 'org.junit.Test;' -> "package org.junit is not visible..", but I can run the test successfully in netbeans. Tested with netbeans build from source 03.Feb.2019 - commit hash 1340caf09590c9e0d60b923665b975644241b8bc Evaluation of 'module-info.java' has worked for me this time, only import of 'org.junit.Test' shows error. Expected behavior: netbeans can import 'org.juni.Test' and does not show me an error. !Bildschirmfoto 2019-02-06 um 17.22.17.png! Sample project: [^gradleJava.zip] Please take a look at https://issues.apache.org/jira/browse/NETBEANS-2024 maybe this is something similar. I could also not use the netbeans-gradle-project with a modular setup and opened there an issue also: [https://github.com/kelemen/netbeans-gradle-project/issues/417] was (Author: streifi): I run into something similar. I have a simple gradle modular project with one test-class 'PropertyChangeListenerTest.java' and netbeans is showing me an error on the import statement of 'org.junit.Test;' -> "package org.junit is not visible..", but I can run the test successfully in netbeans. Expected behavior: netbeans can import 'org.juni.Test' and does not show me an error. !Bildschirmfoto 2019-02-06 um 17.22.17.png! Sample project: [^gradleJava.zip] Please take a look at https://issues.apache.org/jira/browse/NETBEANS-2024 maybe this is something similar. I could also not use the netbeans-gradle-project with a modular setup and opened there an issue also: [https://github.com/kelemen/netbeans-gradle-project/issues/417] > Gradle modular project shows errors in all classes, but tasks run fine > --- > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Priority: Major > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2024) Gradle sub-project doesn't see compile depedencies
[ https://issues.apache.org/jira/browse/NETBEANS-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762655#comment-16762655 ] Christian commented on NETBEANS-2024: - Please take a look at issue: https://issues.apache.org/jira/browse/NETBEANS-2004 Maybe this is the same cause. > Gradle sub-project doesn't see compile depedencies > -- > > Key: NETBEANS-2024 > URL: https://issues.apache.org/jira/browse/NETBEANS-2024 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: Next > Environment: Windows 8.1 x64 > OpenJDK 1.8.0_202 x64 > Netbeans dev #986 >Reporter: Oleg Schelykalnov >Priority: Major > Labels: gradle > > When opening gradle projects with subprojects NetBeans doesn't see subproject > dependencies. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2004) Gradle modular project shows errors in all classes, but tasks run fine
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762654#comment-16762654 ] Christian commented on NETBEANS-2004: - I run into something similar. I have a simple gradle modular project with one test-class 'PropertyChangeListenerTest.java' and netbeans is showing me an error on the import statement of 'org.junit.Test;' -> "package org.junit is not visible..", but I can run the test successfully in netbeans. Expected behavior: netbeans can import 'org.juni.Test' and does not show me an error. !Bildschirmfoto 2019-02-06 um 17.22.17.png! Sample project: [^gradleJava.zip] Please take a look at https://issues.apache.org/jira/browse/NETBEANS-2024 maybe this is something similar. I could also not use the netbeans-gradle-project with a modular setup and opened there an issue also: [https://github.com/kelemen/netbeans-gradle-project/issues/417] > Gradle modular project shows errors in all classes, but tasks run fine > --- > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Priority: Major > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2004) Gradle modular project shows errors in all classes, but tasks run fine
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian updated NETBEANS-2004: Attachment: gradleJava.zip > Gradle modular project shows errors in all classes, but tasks run fine > --- > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Priority: Major > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2004) Gradle modular project shows errors in all classes, but tasks run fine
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian updated NETBEANS-2004: Attachment: Bildschirmfoto 2019-02-06 um 17.22.17.png > Gradle modular project shows errors in all classes, but tasks run fine > --- > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Priority: Major > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2090) Image inside tooltip not working any more
[ https://issues.apache.org/jira/browse/NETBEANS-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762639#comment-16762639 ] Rami Swailem commented on NETBEANS-2090: Works fine with jdk-11.0.1 but not with jdk-11.0.2 and JDK 13 > Image inside tooltip not working any more > - > > Key: NETBEANS-2090 > URL: https://issues.apache.org/jira/browse/NETBEANS-2090 > Project: NetBeans > Issue Type: Bug > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190207-1340caf09590) > Updates: Updates available > Java: 13-ea; OpenJDK 64-Bit Server VM 13-ea+6 > Runtime: OpenJDK Runtime Environment 13-ea+6 > System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_DE (nb) > User directory: /Users/rami/Library/Application Support/NetBeans/dev > Cache directory: /Users/rami/Library/Caches/NetBeans/dev >Reporter: Rami Swailem >Priority: Major > Attachments: Screen Shot 2019-02-07 at 11.50.26.png > > > Reproduction steps: > Open any Java File and make any syntax error > Expected result: > NetBeans show an _error badges_ in the _Projects_ window with Tooltip > contains error badge > Actual result: > NetBeans show an _error badges_ in the _Projects_ window with Tooltip > *without error badge* > > Same error in RCP APP > jLabel.setToolTipText("Hello img.getAbsolutePath() + "'>"); > > tested with JDK 8 and JDK 13 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-601) branding failed: An API incompatibility was encountered while executing org.codehaus.mojo:nbm-maven-plugin:4.1:branding
[ https://issues.apache.org/jira/browse/NETBEANS-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rami Swailem closed NETBEANS-601. - Resolution: Fixed > branding failed: An API incompatibility was encountered while executing > org.codehaus.mojo:nbm-maven-plugin:4.1:branding > --- > > Key: NETBEANS-601 > URL: https://issues.apache.org/jira/browse/NETBEANS-601 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-260-on-20180404) > Java: 10; OpenJDK 64-Bit Server VM 10+46 > Runtime: OpenJDK Runtime Environment 10+46 > System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_DE (nb) >Reporter: Rami Swailem >Priority: Major > Labels: jdk10, maven > Attachments: jdk10.zip, stacktrace.txt > > > > with JDK 9 no problems. > steps to reproduce: > 1. create maven project (Maven -> Netbeans Application) > 2. build branding module > The following error occurred while executing: > --- nbm-maven-plugin:4.1:branding (default-branding) @ jdk10-branding --- > Configuring mojo org.codehaus.mojo:nbm-maven-plugin:4.1:branding from plugin > realm ClassRealm[extension>org.codehaus.mojo:nbm-maven-plugin:4.1, parent: > jdk.internal.loader.ClassLoaders$AppClassLoader@1de0aca6] > Configuring mojo 'org.codehaus.mojo:nbm-maven-plugin:4.1:branding' with basic > configurator --> > (f) brandingSources = > /Users/rami/NetBeansProjects/jdk10/branding/src/main/nbm-branding > (f) brandingToken = jdk10 > (f) cluster = jdk10 > (f) nbmBuildDir = /Users/rami/NetBeansProjects/jdk10/branding/target/nbm > (f) outputDirectory = /Users/rami/NetBeansProjects/jdk10/branding/target > (f) project = MavenProject: org.swailem:jdk10-branding:0.0.1 @ > /Users/rami/NetBeansProjects/jdk10/branding/pom.xml > -- end configuration -- > > BUILD FAILURE > > Total time: 5.499 s > Finished at: 2018-04-05T13:27:55+02:00 > > Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding > (default-branding) on project jdk10-branding: Execution default-branding of > goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding failed: An API > incompatibility was encountered while executing > org.codehaus.mojo:nbm-maven-plugin:4.1:branding: > java.lang.ExceptionInInitializerError: null > - > realm = extension>org.codehaus.mojo:nbm-maven-plugin:4.1 > strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > ... -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1706) Can't build maven project
[ https://issues.apache.org/jira/browse/NETBEANS-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rami Swailem closed NETBEANS-1706. -- Resolution: Cannot Reproduce > Can't build maven project > - > > Key: NETBEANS-1706 > URL: https://issues.apache.org/jira/browse/NETBEANS-1706 > Project: NetBeans > Issue Type: Bug > Components: mavenutilities >Reporter: Rami Swailem >Assignee: Eric Barboni >Priority: Major > > Group ID was changed from org.netbeans.modules to org.apache.netbeans.modules. > > Please change it in CreateClusterAppMojo.java -> getHarnessNbm() > {{ if ("org.netbeans.modules".equals(a.getGroupId()) && > "org-netbeans-bootstrap".equals(a.getArtifactId())) {}} > and in > {{ Artifact nbmArt = artifactFactory.createArtifact(}} > {{ "org.netbeans.modules",}} > > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-770) Wrong indentation of var
[ https://issues.apache.org/jira/browse/NETBEANS-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rami Swailem closed NETBEANS-770. - Resolution: Fixed Cannot reproduce it in actually NetBeans version > Wrong indentation of var > - > > Key: NETBEANS-770 > URL: https://issues.apache.org/jira/browse/NETBEANS-770 > Project: NetBeans > Issue Type: Improvement > Components: editor - Formatting Indentation >Affects Versions: 9.0 >Reporter: Rami Swailem >Priority: Minor > Labels: Editor, Indentation > Attachments: Screen Shot 2018-05-07 at 09.10.32.png, Screen Shot > 2018-05-07 at 09.15.58.png > > > Wrong indentation of var. See Screenshots > > *Product Version:*Apache NetBeans IDE Dev (Build > incubator-netbeans-release-289-on-20180504) > *Updates:*Updates available > *Java:*10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10 > *Runtime:*Java(TM) SE Runtime Environment 10.0.1+10 > *System:*Mac OS X version 10.13.4 running on x86_64; UTF-8; en_DE (nb) > *User directory:*/Users/rami/Library/Application Support/NetBeans/dev > *Cache directory:*/Users/rami/Library/Caches/NetBeans/dev > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2090) Image inside tooltip not working any more
Rami Swailem created NETBEANS-2090: -- Summary: Image inside tooltip not working any more Key: NETBEANS-2090 URL: https://issues.apache.org/jira/browse/NETBEANS-2090 Project: NetBeans Issue Type: Bug Environment: Product Version: Apache NetBeans IDE Dev (Build 20190207-1340caf09590) Updates: Updates available Java: 13-ea; OpenJDK 64-Bit Server VM 13-ea+6 Runtime: OpenJDK Runtime Environment 13-ea+6 System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_DE (nb) User directory: /Users/rami/Library/Application Support/NetBeans/dev Cache directory: /Users/rami/Library/Caches/NetBeans/dev Reporter: Rami Swailem Attachments: Screen Shot 2019-02-07 at 11.50.26.png Reproduction steps: Open any Java File and make any syntax error Expected result: NetBeans show an _error badges_ in the _Projects_ window with Tooltip contains error badge Actual result: NetBeans show an _error badges_ in the _Projects_ window with Tooltip *without error badge* Same error in RCP APP jLabel.setToolTipText("Hello"); tested with JDK 8 and JDK 13 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2016) TestCases failure as expected exception is not thrown inside try block
[ https://issues.apache.org/jira/browse/NETBEANS-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA resolved NETBEANS-2016. - Resolution: Fixed > TestCases failure as expected exception is not thrown inside try block > -- > > Key: NETBEANS-2016 > URL: https://issues.apache.org/jira/browse/NETBEANS-2016 > Project: NetBeans > Issue Type: Bug > Components: java - Hints >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Fix For: 11.0 > > Attachments: netbeans-2016.patch > > > Below TestCases failed with Error: > testSingleParentException(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > testCommonParentsWithoutUmbrellas(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > testTwoCommonParentFixMultiCatch(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testCommonParentSuppressed(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testTwoSubexceptionsGeneric(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testTwoCommonParentFixSeparateCatches(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testTwoSubexceptionsGeneric7(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testUmbrellaWithOneSubtype(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testRecordExceptionsFromNoArgMethod(org.netbeans.modules.java.hints.bugs.NPECheckTest) > > testThrowableAssignedToExceptionParameter(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testMethodInvokedOnThrowable(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testThrowableCompared(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testGetCauseAloneReported(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testGetCausePassedOn(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > test203139(org.netbeans.modules.java.hints.jdk.JoinCatchesTest) > test234085(org.netbeans.modules.java.hints.jdk.JoinCatchesTest) > test224028(org.netbeans.modules.java.hints.bugs.NPECheckTest) > testSimpleFlow(org.netbeans.modules.java.hints.jdk.ConvertToStringSwitchTest) > testSimpleNoStringArgNotStrict(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > > testSimpleNoStringArgStrict(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > > testSimple1(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testSimple2(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testSimple3(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testExpression(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testFinalVariable(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testHintPosFinally(org.netbeans.modules.java.hints.jdk.UseSpecificCatchTest) > testParametrizedTypeException(org.netbeans.modules.java.hints.jdk.UseSpecificCatchTest) > > Sample Error Description: > > Testcase: > testGetCauseAloneReported(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest): > Caused an ERROR > 9:5 exception InvocationTargetException is never thrown in body of > corresponding try statement > java.lang.AssertionError: 9:5 exception InvocationTargetException is never > thrown in body of corresponding try statement > at > org.netbeans.modules.java.hints.test.api.HintTest.ensureCompilable(HintTest.java:379) > at org.netbeans.modules.java.hints.test.api.HintTest.run(HintTest.java:458) > at org.netbeans.modules.java.hints.test.api.HintTest.run(HintTest.java:443) > at > org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest.testGetCauseAloneReported(ThrowableNotThrownTest.java:230) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1917) Testing of nb-javac for JDK-12 in NB
[ https://issues.apache.org/jira/browse/NETBEANS-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA updated NETBEANS-1917: Fix Version/s: 11.0 > Testing of nb-javac for JDK-12 in NB > > > Key: NETBEANS-1917 > URL: https://issues.apache.org/jira/browse/NETBEANS-1917 > Project: NetBeans > Issue Type: Task >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Labels: NB-JDK12 > Fix For: 11.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2016) TestCases failure as expected exception is not thrown inside try block
[ https://issues.apache.org/jira/browse/NETBEANS-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA updated NETBEANS-2016: Fix Version/s: 11.0 > TestCases failure as expected exception is not thrown inside try block > -- > > Key: NETBEANS-2016 > URL: https://issues.apache.org/jira/browse/NETBEANS-2016 > Project: NetBeans > Issue Type: Bug > Components: java - Hints >Reporter: ARUNAVA SINHA >Assignee: ARUNAVA SINHA >Priority: Major > Fix For: 11.0 > > Attachments: netbeans-2016.patch > > > Below TestCases failed with Error: > testSingleParentException(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > testCommonParentsWithoutUmbrellas(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > testTwoCommonParentFixMultiCatch(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testCommonParentSuppressed(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testTwoSubexceptionsGeneric(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testTwoCommonParentFixSeparateCatches(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testTwoSubexceptionsGeneric7(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testUmbrellaWithOneSubtype(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) > > testRecordExceptionsFromNoArgMethod(org.netbeans.modules.java.hints.bugs.NPECheckTest) > > testThrowableAssignedToExceptionParameter(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testMethodInvokedOnThrowable(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testThrowableCompared(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testGetCauseAloneReported(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > testGetCausePassedOn(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) > > test203139(org.netbeans.modules.java.hints.jdk.JoinCatchesTest) > test234085(org.netbeans.modules.java.hints.jdk.JoinCatchesTest) > test224028(org.netbeans.modules.java.hints.bugs.NPECheckTest) > testSimpleFlow(org.netbeans.modules.java.hints.jdk.ConvertToStringSwitchTest) > testSimpleNoStringArgNotStrict(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > > testSimpleNoStringArgStrict(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > > testSimple1(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testSimple2(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testSimple3(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testExpression(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testFinalVariable(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) > testHintPosFinally(org.netbeans.modules.java.hints.jdk.UseSpecificCatchTest) > testParametrizedTypeException(org.netbeans.modules.java.hints.jdk.UseSpecificCatchTest) > > Sample Error Description: > > Testcase: > testGetCauseAloneReported(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest): > Caused an ERROR > 9:5 exception InvocationTargetException is never thrown in body of > corresponding try statement > java.lang.AssertionError: 9:5 exception InvocationTargetException is never > thrown in body of corresponding try statement > at > org.netbeans.modules.java.hints.test.api.HintTest.ensureCompilable(HintTest.java:379) > at org.netbeans.modules.java.hints.test.api.HintTest.run(HintTest.java:458) > at org.netbeans.modules.java.hints.test.api.HintTest.run(HintTest.java:443) > at > org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest.testGetCauseAloneReported(ThrowableNotThrownTest.java:230) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-906) nb-javac throws AssertionError compiling valid Java code involving inner classes
[ https://issues.apache.org/jira/browse/NETBEANS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA resolved NETBEANS-906. Resolution: Fixed Fix Version/s: 11.0 patch had been merged in nb-javac and same will be available in NB-11.0 > nb-javac throws AssertionError compiling valid Java code involving inner > classes > > > Key: NETBEANS-906 > URL: https://issues.apache.org/jira/browse/NETBEANS-906 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 9.0 > Environment: OpenJDK 1.8.0_171 on Ubuntu >Reporter: Jeffrey Morlan >Assignee: ARUNAVA SINHA >Priority: Major > Fix For: 11.0 > > Attachments: NETBEANS-906.patch > > > NetBeans 9.0 RC1 with nb-javac plugin fails to compile code like this: > public class Bug { > class A {} > static void b(Bug c) \{ c.new A(){}; } > } > It throws the following exception: > 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.TransTypes.translateArgs(TransTypes.java:211) > at > com.sun.tools.javac.comp.TransTypes.visitNewClass(TransTypes.java:723) > at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504) > at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:655) > at > com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1458) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) > at > com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167) > at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504) > at > com.sun.tools.javac.comp.TransTypes.visitMethodDef(TransTypes.java:539) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) > at > com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139) > at > com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:971) > at > com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:525) > at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504) > at > com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:995) > at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653) > at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1520) > at > com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:567) > at > com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:644) > at > com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:570) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2089) Support for Intel Compiler Suite on Windows
Stefan Strömer created NETBEANS-2089: Summary: Support for Intel Compiler Suite on Windows Key: NETBEANS-2089 URL: https://issues.apache.org/jira/browse/NETBEANS-2089 Project: NetBeans Issue Type: Wish Components: cnd - Toolchain Reporter: Stefan Strömer Since the C/C++ Plugin supports the Intel Compuiler Suite (icc, icpc, ifort) on Linux, I'm wondering if you could add support for the Intel Suite for the Windows Platform too. Our team is developing mixed Java/FORTRAN Software and uses the Intel FORTRAN compiler for the Windows and Linux platform. It would be a great help for us if we could use the same IDE for both platforms, and benefit from the remote build option in netbeans. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2088) Netbeans Platform Application with NB 10 not printing to output console
[ https://issues.apache.org/jira/browse/NETBEANS-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Artur Sonnenhohl updated NETBEANS-2088: --- Description: I'm unable to see stack traces and print to the console of the NB 10 IDE while developing an application over the NB Platform. Attached is a simple platform application to reproduce the problem. was: I'm unable to see stack traces and print to the console of the NB 10 IDE while developing an application over the NB Platform. Attached is a simple platform application to reproduce to problem. > Netbeans Platform Application with NB 10 not printing to output console > --- > > Key: NETBEANS-2088 > URL: https://issues.apache.org/jira/browse/NETBEANS-2088 > Project: NetBeans > Issue Type: Bug > Components: platform - Output Window >Affects Versions: 10.0 > Environment: WIN 10 x64, NB 10, JDK 11.0.1 >Reporter: Artur Sonnenhohl >Priority: Critical > Attachments: application4.zip > > > I'm unable to see stack traces and print to the console of the NB 10 IDE > while developing an application over the NB Platform. > > Attached is a simple platform application to reproduce the problem. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2088) Netbeans Platform Application with NB 10 not printing to output console
[ https://issues.apache.org/jira/browse/NETBEANS-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Artur Sonnenhohl updated NETBEANS-2088: --- Summary: Netbeans Platform Application with NB 10 not printing to output console (was: Netbeans Platform Application with NB 10 not printing do output console) > Netbeans Platform Application with NB 10 not printing to output console > --- > > Key: NETBEANS-2088 > URL: https://issues.apache.org/jira/browse/NETBEANS-2088 > Project: NetBeans > Issue Type: Bug > Components: platform - Output Window >Affects Versions: 10.0 > Environment: WIN 10 x64, NB 10, JDK 11.0.1 >Reporter: Artur Sonnenhohl >Priority: Critical > Attachments: application4.zip > > > I'm unable to see stack traces and print to the console of the NB 10 IDE > while developing an application over the NB Platform. > > Attached is a simple platform application to reproduce to problem. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-470) var type shows as keyword in jdk8,9
[ https://issues.apache.org/jira/browse/NETBEANS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reema Taneja resolved NETBEANS-470. --- Resolution: Fixed Fix Version/s: 9.0 > var type shows as keyword in jdk8,9 > --- > > Key: NETBEANS-470 > URL: https://issues.apache.org/jira/browse/NETBEANS-470 > Project: NetBeans > Issue Type: Bug >Reporter: Reema Taneja >Assignee: Reema Taneja >Priority: Trivial > Labels: JDK10-LVTI > Fix For: 9.0 > > > Var type should be treated as keyword only in jdk10. Currently version is not > getting passed in JavaLexer, hence it uses the default value, which is the > latest version supported. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-470) var type shows as keyword in jdk8,9
[ https://issues.apache.org/jira/browse/NETBEANS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762551#comment-16762551 ] Reema Taneja commented on NETBEANS-470: --- Merged https://github.com/apache/incubator-netbeans/pull/446 > var type shows as keyword in jdk8,9 > --- > > Key: NETBEANS-470 > URL: https://issues.apache.org/jira/browse/NETBEANS-470 > Project: NetBeans > Issue Type: Bug >Reporter: Reema Taneja >Assignee: Reema Taneja >Priority: Trivial > Labels: JDK10-LVTI > > Var type should be treated as keyword only in jdk10. Currently version is not > getting passed in JavaLexer, hence it uses the default value, which is the > latest version supported. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1728) ClassCastException in switch expression
[ https://issues.apache.org/jira/browse/NETBEANS-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762501#comment-16762501 ] Sarvesh Kesharwani commented on NETBEANS-1728: -- The corresponding PR has been merged. > ClassCastException in switch expression > > > Key: NETBEANS-1728 > URL: https://issues.apache.org/jira/browse/NETBEANS-1728 > Project: NetBeans > Issue Type: Bug >Reporter: vikas kumar prabhakar >Assignee: Sarvesh Kesharwani >Priority: Major > Labels: NB-JDK12, pull-request-available > Fix For: 11.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > Exception occur "java.lang.ClassCastException" with following code snippet: > int i=10; > final String val = > switch (i) > { case 1 : break "one"; case 2 -> "two"; } > ; > > Exception logs: > java.lang.ClassCastException: class > com.sun.tools.javac.tree.JCTree$JCSwitchExpression cannot be cast to class > com.sun.source.tree.StatementTree > (com.sun.tools.javac.tree.JCTree$JCSwitchExpression and > com.sun.source.tree.StatementTree are in module jdk.compiler of loader 'app') > at > org.netbeans.api.java.source.TreeUtilities.getBreakContinueTarget(TreeUtilities.java:1358) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitBreak(NPECheck.java:1252) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitBreak(NPECheck.java:545) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBreak.accept(JCTree.java:1575) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) > at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitCase(TreeScanner.java:372) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1293) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) > at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitSwitchExpression(TreeScanner.java:354) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitchExpression.accept(JCTree.java:1323) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitVariable(NPECheck.java:704) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitVariable(NPECheck.java:545) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:980) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) > at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at >
[jira] [Assigned] (NETBEANS-1783) Support for JEP 330: Launch Single-File Source-Code Programs
[ https://issues.apache.org/jira/browse/NETBEANS-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sarvesh Kesharwani reassigned NETBEANS-1783: Assignee: Sarvesh Kesharwani > Support for JEP 330: Launch Single-File Source-Code Programs > > > Key: NETBEANS-1783 > URL: https://issues.apache.org/jira/browse/NETBEANS-1783 > Project: NetBeans > Issue Type: Wish >Reporter: Erik >Assignee: Sarvesh Kesharwani >Priority: Minor > > I've been doing Advent of code and found myself wanting to write, run and > debug Single-File Source-Code Programs as defined by JEP 330. See > [https://openjdk.java.net/jeps/330.] I think this feature could be useful to > people who know Java, want good IDE support, and want to write scripts > without having to resort to a different language. I also think this feature > could be useful in an educational setting to quickly get students up and > writing their first lines of Java without having to learn about project > structure. Catering to these audiences could help with increasing the > adoption of Netbeans. > There's recently been some discussion about changing the default project type > in Create new project dialog. Maybe Single-File Source-Code programs could be > added there as well? > Currently you can open and edit individual files but there is no way to run > and debug them. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1728) ClassCastException in switch expression
[ https://issues.apache.org/jira/browse/NETBEANS-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sarvesh Kesharwani resolved NETBEANS-1728. -- Resolution: Fixed Fix Version/s: 11.0 > ClassCastException in switch expression > > > Key: NETBEANS-1728 > URL: https://issues.apache.org/jira/browse/NETBEANS-1728 > Project: NetBeans > Issue Type: Bug >Reporter: vikas kumar prabhakar >Assignee: Sarvesh Kesharwani >Priority: Major > Labels: NB-JDK12, pull-request-available > Fix For: 11.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > Exception occur "java.lang.ClassCastException" with following code snippet: > int i=10; > final String val = > switch (i) > { case 1 : break "one"; case 2 -> "two"; } > ; > > Exception logs: > java.lang.ClassCastException: class > com.sun.tools.javac.tree.JCTree$JCSwitchExpression cannot be cast to class > com.sun.source.tree.StatementTree > (com.sun.tools.javac.tree.JCTree$JCSwitchExpression and > com.sun.source.tree.StatementTree are in module jdk.compiler of loader 'app') > at > org.netbeans.api.java.source.TreeUtilities.getBreakContinueTarget(TreeUtilities.java:1358) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitBreak(NPECheck.java:1252) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitBreak(NPECheck.java:545) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBreak.accept(JCTree.java:1575) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) > at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitCase(TreeScanner.java:372) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1293) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) > at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitSwitchExpression(TreeScanner.java:354) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitchExpression.accept(JCTree.java:1323) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitVariable(NPECheck.java:704) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitVariable(NPECheck.java:545) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:980) > 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.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624) > at > org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545) > at > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) > at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) > at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038) > 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 >