[jira] [Commented] (NETBEANS-2941) Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview
[ https://issues.apache.org/jira/browse/NETBEANS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931121#comment-16931121 ] Laszlo Kishalmi commented on NETBEANS-2941: --- The requested query has been implemented. > Hint "convert rule to switch" not shown with Gradle - openjdk12 - > --enable-preview > -- > > Key: NETBEANS-2941 > URL: https://issues.apache.org/jira/browse/NETBEANS-2941 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12 >Reporter: Helmut Leininger >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: gradle, hints, pull-request-available > Fix For: 11.2 > > Time Spent: 40m > Remaining Estimate: 0h > > in the project's build.gradle are these specifications: > {code:java} > compileJava { > options.compilerArgs.addAll(['--enable-preview']) > } > run { > jvmArgs(['--enable-preview']) > } > > {code} > A program containing > {code:java} > switch (string) { > case"a123" -> System.out.println("a123"); > ... > }{code} > compiles and runs well in the IDE. > > if "old" switch format like > {code:java} > switch (string) { > case "a123": > System.out.println("a123"); > break; > ... > }{code} > is used, not hint > {code:java} > convert to rule switch{code} > is shown > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2941) Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview
[ https://issues.apache.org/jira/browse/NETBEANS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2941. --- Fix Version/s: 11.2 Resolution: Fixed > Hint "convert rule to switch" not shown with Gradle - openjdk12 - > --enable-preview > -- > > Key: NETBEANS-2941 > URL: https://issues.apache.org/jira/browse/NETBEANS-2941 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12 >Reporter: Helmut Leininger >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: gradle, hints, pull-request-available > Fix For: 11.2 > > Time Spent: 40m > Remaining Estimate: 0h > > in the project's build.gradle are these specifications: > {code:java} > compileJava { > options.compilerArgs.addAll(['--enable-preview']) > } > run { > jvmArgs(['--enable-preview']) > } > > {code} > A program containing > {code:java} > switch (string) { > case"a123" -> System.out.println("a123"); > ... > }{code} > compiles and runs well in the IDE. > > if "old" switch format like > {code:java} > switch (string) { > case "a123": > System.out.println("a123"); > break; > ... > }{code} > is used, not hint > {code:java} > convert to rule switch{code} > is shown > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[netbeans] branch master updated (de5920c -> b9ec674)
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from de5920c [NETBEANS-2941] Allow the IDE to see the compiler options for Gradle Project files. add b9ec674 Improving compatibility with the records-and-sealed branch of OpenJDK Amber - if JCClassDecl does not have the expected constructor, let javac create the tree. No new revisions were added by this update. Summary of changes: .../src/org/netbeans/lib/nbjavac/services/NBTreeMaker.java | 12 1 file changed, 8 insertions(+), 4 deletions(-) - 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-3103) Formatting is broken with class constant code completion(self::)
[ https://issues.apache.org/jira/browse/NETBEANS-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3103: - Labels: pull-request-available (was: ) > Formatting is broken with class constant code completion(self::) > > > Key: NETBEANS-3103 > URL: https://issues.apache.org/jira/browse/NETBEANS-3103 > Project: NetBeans > Issue Type: Bug > Components: php - Editor, php - Formatting & Indentation >Affects Versions: 11.2 >Reporter: Junichi Yamamoto >Assignee: Junichi Yamamoto >Priority: Major > Labels: pull-request-available > > h2. Example code > {code:php} > class ClassName { > // ^ is the caret position > // select "self::" or "parent::" in CC list > private const CONSTANT = ^; > } > {code} > h2. Expected result > {code:php} > class ClassName { > private const CONSTANT = self::; > } > {code} > h2. Actual result > {code:php} > class ClassName { > private const CONSTANT = self > ::; > } > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[netbeans] branch master updated: [NETBEANS-2941] Allow the IDE to see the compiler options for Gradle Project files.
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new de5920c [NETBEANS-2941] Allow the IDE to see the compiler options for Gradle Project files. de5920c is described below commit de5920c1a2aa19c8309ad01403a42ab54aa58921 Author: Laszlo Kishalmi AuthorDate: Wed Sep 11 09:44:36 2019 -0700 [NETBEANS-2941] Allow the IDE to see the compiler options for Gradle Project files. --- groovy/gradle.java/apichanges.xml | 16 ++- groovy/gradle.java/manifest.mf | 2 +- groovy/gradle.java/nbproject/project.xml | 2 +- .../gradle/java/api/GradleJavaProjectBuilder.java | 30 +- .../gradle/java/api/GradleJavaSourceSet.java | 74 - .../java/queries/GradleCompilerOptionsQuery.java | 117 + .../gradle/tooling/NbProjectInfoBuilder.groovy | 38 +++ .../modules/gradle/GradleProjectCache.java | 2 +- 8 files changed, 245 insertions(+), 36 deletions(-) diff --git a/groovy/gradle.java/apichanges.xml b/groovy/gradle.java/apichanges.xml index eb7f050..c322ab7 100644 --- a/groovy/gradle.java/apichanges.xml +++ b/groovy/gradle.java/apichanges.xml @@ -83,12 +83,26 @@ is the proper place. + + +Compiler arguments are accessible for SourceSet-s and minor enhancements + + + + + +Sourcsets can return the used compiler arguments on it's default +compiler tasks for Java, Groovy and Scala as well. + + + + -
[jira] [Commented] (NETBEANS-2415) Bring back support for WildFly server
[ https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930816#comment-16930816 ] Dominik Derwiński commented on NETBEANS-2415: - T Gergely, thanks for reporting this. I was in a hurry to do my job and failed to record the stack trace. > Bring back support for WildFly server > - > > Key: NETBEANS-2415 > URL: https://issues.apache.org/jira/browse/NETBEANS-2415 > Project: NetBeans > Issue Type: Wish > Components: serverplugins - WildFly >Affects Versions: 11.0 > Environment: n.a. >Reporter: Dominik Derwiński >Assignee: Emmanuel Hugonnet >Priority: Minor > > NetBeans 8.2 had WildFly server module, which helped greatly in debugging > Java EE applications directly from IDE. NetBeans 11.0 does not contain this > module, despite boasting to be the first version of Apache NetBeans to offer > full support for developing Java EE applications. > I don't think it would be very hard to bring back WildFly server module > (currently it does not complile), because copying files of the module from > NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is > enough to bring back that functionality (so the old module still works, but > for how long?). > The files I have copied (after removing references to localization files) are: > * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml > * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar > * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3105) NullPointerException on FindUsages
[ https://issues.apache.org/jira/browse/NETBEANS-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen McCants updated NETBEANS-3105: -- Attachment: ide2.log > NullPointerException on FindUsages > -- > > Key: NETBEANS-3105 > URL: https://issues.apache.org/jira/browse/NETBEANS-3105 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, java - Navigation, java - Refactoring >Affects Versions: 11.1, 11.2 >Reporter: Stephen McCants >Priority: Major > Attachments: ide.log, ide2.log > > > Sometimes running a FindUsages on a method results the stack trace below. > Once it happens, you cannot run FindUsages on that item, but you might be > able to run it on different items. This breaks Netbeans for my colleagues > and myself. > Workaround: Use Netbeans 8.2 (11.1 has problems with Find Usages being too > slow). > Stacktrace: > {{java.lang.NullPointerExceptionjava.lang.NullPointerException at > org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:362) > at > org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doFindUsages(RefactoringActionsProvider.java:232) > at > org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doFindUsages(ActionsImplementationFactory.java:91) > at > org.netbeans.modules.refactoring.spi.impl.WhereUsedAction.performAction(WhereUsedAction.java:52) > at > org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:172) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at > javax.swing.AbstractButton.doClick(AbstractButton.java:376) at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) > at java.awt.Component.processMouseEvent(Component.java:6539) at > javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at > java.awt.Component.processEvent(Component.java:6304) at > java.awt.Container.processEvent(Container.java:2239) at > java.awt.Component.dispatchEventImpl(Component.java:4889) at > java.awt.Container.dispatchEventImpl(Container.java:2297) at > java.awt.Component.dispatchEvent(Component.java:4711) at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at > java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at > java.awt.Container.dispatchEventImpl(Container.java:2283) at > java.awt.Window.dispatchEventImpl(Window.java:2746) at > java.awt.Component.dispatchEvent(Component.java:4711) at > java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at > java.awt.EventQueue.access$500(EventQueue.java:97) at > java.awt.EventQueue$3.run(EventQueue.java:709) at > java.awt.EventQueue$3.run(EventQueue.java:703) at > java.security.AccessController.doPrivileged(Native Method) at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) > at java.awt.EventQueue$4.run(EventQueue.java:733) at > java.awt.EventQueue$4.run(EventQueue.java:731) at > java.security.AccessController.doPrivileged(Native Method) at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)[catch] > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at > java.awt.EventDispatchThread.run(EventDispatchThread.java:82)}} > {{UI Log:}} > > {{}} > {{ 2019-09-16T12:04:35}} > {{ 1568653475223}} > {{ 20609}} > {{ 800}} > {{ 16501}} > {{ INDEXING_STARTED}} > {{ INDEXING_STARTED}} > {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} > {{ 31}} > {{}} > {{}} > {{ 2019-09-16T12:04:35}} > {{ 1568653475223}} > {{ 20610}} > {{ 800}} > {{ 16501}} > {{ INDEXING_FINISHED}} > {{ INDEXING_FINISHED}} > {{ org.netbeans.modules.pars
[jira] [Commented] (NETBEANS-3105) NullPointerException on FindUsages
[ https://issues.apache.org/jira/browse/NETBEANS-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930773#comment-16930773 ] Stephen McCants commented on NETBEANS-3105: --- Switched to having Netbeans run under OpenJDK 11, but the problem did not go away. Attaching a new ide2.log file. > NullPointerException on FindUsages > -- > > Key: NETBEANS-3105 > URL: https://issues.apache.org/jira/browse/NETBEANS-3105 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, java - Navigation, java - Refactoring >Affects Versions: 11.1, 11.2 >Reporter: Stephen McCants >Priority: Major > Attachments: ide.log, ide2.log > > > Sometimes running a FindUsages on a method results the stack trace below. > Once it happens, you cannot run FindUsages on that item, but you might be > able to run it on different items. This breaks Netbeans for my colleagues > and myself. > Workaround: Use Netbeans 8.2 (11.1 has problems with Find Usages being too > slow). > Stacktrace: > {{java.lang.NullPointerExceptionjava.lang.NullPointerException at > org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:362) > at > org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doFindUsages(RefactoringActionsProvider.java:232) > at > org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doFindUsages(ActionsImplementationFactory.java:91) > at > org.netbeans.modules.refactoring.spi.impl.WhereUsedAction.performAction(WhereUsedAction.java:52) > at > org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:172) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at > javax.swing.AbstractButton.doClick(AbstractButton.java:376) at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) > at java.awt.Component.processMouseEvent(Component.java:6539) at > javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at > java.awt.Component.processEvent(Component.java:6304) at > java.awt.Container.processEvent(Container.java:2239) at > java.awt.Component.dispatchEventImpl(Component.java:4889) at > java.awt.Container.dispatchEventImpl(Container.java:2297) at > java.awt.Component.dispatchEvent(Component.java:4711) at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at > java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at > java.awt.Container.dispatchEventImpl(Container.java:2283) at > java.awt.Window.dispatchEventImpl(Window.java:2746) at > java.awt.Component.dispatchEvent(Component.java:4711) at > java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at > java.awt.EventQueue.access$500(EventQueue.java:97) at > java.awt.EventQueue$3.run(EventQueue.java:709) at > java.awt.EventQueue$3.run(EventQueue.java:703) at > java.security.AccessController.doPrivileged(Native Method) at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) > at java.awt.EventQueue$4.run(EventQueue.java:733) at > java.awt.EventQueue$4.run(EventQueue.java:731) at > java.security.AccessController.doPrivileged(Native Method) at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)[catch] > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at > java.awt.EventDispatchThread.run(EventDispatchThread.java:82)}} > {{UI Log:}} > > {{}} > {{ 2019-09-16T12:04:35}} > {{ 1568653475223}} > {{ 20609}} > {{ 800}} > {{ 16501}} > {{ INDEXING_STARTED}} > {{ INDEXING_STARTED}} > {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} > {{ 31}} > {{}} > {{}} > {{ 2019-09-16T
[jira] [Updated] (NETBEANS-3105) NullPointerException on FindUsages
[ https://issues.apache.org/jira/browse/NETBEANS-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen McCants updated NETBEANS-3105: -- Attachment: ide.log > NullPointerException on FindUsages > -- > > Key: NETBEANS-3105 > URL: https://issues.apache.org/jira/browse/NETBEANS-3105 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, java - Navigation, java - Refactoring >Affects Versions: 11.1, 11.2 >Reporter: Stephen McCants >Priority: Major > Attachments: ide.log > > > Sometimes running a FindUsages on a method results the stack trace below. > Once it happens, you cannot run FindUsages on that item, but you might be > able to run it on different items. This breaks Netbeans for my colleagues > and myself. > Workaround: Use Netbeans 8.2 (11.1 has problems with Find Usages being too > slow). > Stacktrace: > {{java.lang.NullPointerExceptionjava.lang.NullPointerException at > org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:362) > at > org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doFindUsages(RefactoringActionsProvider.java:232) > at > org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doFindUsages(ActionsImplementationFactory.java:91) > at > org.netbeans.modules.refactoring.spi.impl.WhereUsedAction.performAction(WhereUsedAction.java:52) > at > org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:172) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at > javax.swing.AbstractButton.doClick(AbstractButton.java:376) at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) > at java.awt.Component.processMouseEvent(Component.java:6539) at > javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at > java.awt.Component.processEvent(Component.java:6304) at > java.awt.Container.processEvent(Container.java:2239) at > java.awt.Component.dispatchEventImpl(Component.java:4889) at > java.awt.Container.dispatchEventImpl(Container.java:2297) at > java.awt.Component.dispatchEvent(Component.java:4711) at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at > java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at > java.awt.Container.dispatchEventImpl(Container.java:2283) at > java.awt.Window.dispatchEventImpl(Window.java:2746) at > java.awt.Component.dispatchEvent(Component.java:4711) at > java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at > java.awt.EventQueue.access$500(EventQueue.java:97) at > java.awt.EventQueue$3.run(EventQueue.java:709) at > java.awt.EventQueue$3.run(EventQueue.java:703) at > java.security.AccessController.doPrivileged(Native Method) at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) > at java.awt.EventQueue$4.run(EventQueue.java:733) at > java.awt.EventQueue$4.run(EventQueue.java:731) at > java.security.AccessController.doPrivileged(Native Method) at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)[catch] > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at > java.awt.EventDispatchThread.run(EventDispatchThread.java:82)}} > {{UI Log:}} > > {{}} > {{ 2019-09-16T12:04:35}} > {{ 1568653475223}} > {{ 20609}} > {{ 800}} > {{ 16501}} > {{ INDEXING_STARTED}} > {{ INDEXING_STARTED}} > {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} > {{ 31}} > {{}} > {{}} > {{ 2019-09-16T12:04:35}} > {{ 1568653475223}} > {{ 20610}} > {{ 800}} > {{ 16501}} > {{ INDEXING_FINISHED}} > {{ INDEXING_FINISHED}} > {{ org.netbeans.modules.parsing.impl.in
[jira] [Created] (NETBEANS-3105) NullPointerException on FindUsages
Stephen McCants created NETBEANS-3105: - Summary: NullPointerException on FindUsages Key: NETBEANS-3105 URL: https://issues.apache.org/jira/browse/NETBEANS-3105 Project: NetBeans Issue Type: Bug Components: editor - Search, java - Navigation, java - Refactoring Affects Versions: 11.1, 11.2 Reporter: Stephen McCants Sometimes running a FindUsages on a method results the stack trace below. Once it happens, you cannot run FindUsages on that item, but you might be able to run it on different items. This breaks Netbeans for my colleagues and myself. Workaround: Use Netbeans 8.2 (11.1 has problems with Find Usages being too slow). Stacktrace: {{java.lang.NullPointerExceptionjava.lang.NullPointerException at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:362) at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doFindUsages(RefactoringActionsProvider.java:232) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doFindUsages(ActionsImplementationFactory.java:91) at org.netbeans.modules.refactoring.spi.impl.WhereUsedAction.performAction(WhereUsedAction.java:52) at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:172) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)}} {{UI Log:}} {{}} {{ 2019-09-16T12:04:35}} {{ 1568653475223}} {{ 20609}} {{ 800}} {{ 16501}} {{ INDEXING_STARTED}} {{ INDEXING_STARTED}} {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} {{ 31}} {{}} {{}} {{ 2019-09-16T12:04:35}} {{ 1568653475223}} {{ 20610}} {{ 800}} {{ 16501}} {{ INDEXING_FINISHED}} {{ INDEXING_FINISHED}} {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} {{ 0}} {{}} {{}} {{ 2019-09-16T12:09:35}} {{ 1568653775222}} {{ 20611}} {{ 800}} {{ 16502}} {{ INDEXING_STARTED}} {{ INDEXING_STARTED}} {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} {{ 29}} {{}} {{}} {{ 2019-09-16T12:09:35}} {{ 1568653775222}} {{ 20612}} {{ 800}} {{ 16502}} {{ INDEXING_FINISHED}} {{ INDEXING_FINISHED}} {{ org.netbeans.modules.parsing.impl.indexing.Bundle}} {
[jira] [Commented] (NETBEANS-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930729#comment-16930729 ] Benjamin Graf commented on NETBEANS-3100: - @[~GeertjanWielenga]: Just for interest. From where do you get your daily snapshots? Build yourself? > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows 10 > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method > # Nothing in Output window > # Add JDK 8 to IDE via Tools/Java Platforms > # Switch Java Platform in project properties to JDK 8 > # Try to run generated Class "JavaApplication" with generated main method > # Run in Output visable -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3100: Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release Windows 10 OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) was: NetBeans-dev-netbeans-linux-1247-on-20190915-release Windows OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows 10 > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method > # Nothing in Output window > # Add JDK 8 to IDE via Tools/Java Platforms > # Switch Java Platform in project properties to JDK 8 > # Try to run generated Class "JavaApplication" with generated main method > # Run in Output visable -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3100: Description: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution for version 11.1+ (actually [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) ** delete any previous profile files # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method # Nothing in Output window # Add JDK 8 to IDE via Tools/Java Platforms # Switch Java Platform in project properties to JDK 8 # Try to run generated Class "JavaApplication" with generated main method # Run in Output visable was: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution for version 11.1+ (actually [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) ** delete any previous profile files # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method # Nothing in Output window > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method > # Nothing in Output window > # Add JDK 8 to IDE via Tools/Java Platforms > # Switch Java Platform in project properties to JDK 8 > # Try to run generated Class "JavaApplication" with generated main method > # Run in Output visable -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3100: Description: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution for version 11.1+ (actually [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) ** delete any previous profile files # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method # Nothing in Output window was: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution for version 11.1+ (actually [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) ** delete any previous profile files # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method > # Nothing in Output window -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930721#comment-16930721 ] Geertjan Wielenga commented on NETBEANS-3100: - OK, then we're going to wait until 11.2 beta comes out and at that point see if it can be reproduced (I can't in the daily builds I've been using) and then take it from there. > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method > # Nothing in Output window -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930718#comment-16930718 ] Benjamin Graf commented on NETBEANS-3100: - No, I tested several snapshot builds in the last 2/3 days to check for some other fixes committed previously. > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3100: Description: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution for version 11.1+ (actually [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) ** delete any previous profile files # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method was: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution (delete any previous profile!) # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution for version 11.1+ (actually > [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip]) > ** delete any previous profile files > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930717#comment-16930717 ] Geertjan Wielenga commented on NETBEANS-3100: - Because, so far this fails for you in one random daily build, right? > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution (delete any previous profile!) > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3100: Description: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. Steps to reproduce: # Unpack plain zip distribution (delete any previous profile!) # Configure Java 11 as runtime environment in "etc/netbeans.conf" ** netbeans_jdkhome= # Create new project "Java with Ant / Java Application" # Try to run generated Class "JavaApplication" with generated main method was: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. > > Steps to reproduce: > # Unpack plain zip distribution (delete any previous profile!) > # Configure Java 11 as runtime environment in "etc/netbeans.conf" > ** netbeans_jdkhome= > # Create new project "Java with Ant / Java Application" > # Try to run generated Class "JavaApplication" with generated main method -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930713#comment-16930713 ] Geertjan Wielenga commented on NETBEANS-3100: - Wait for the 11.2 beta to come out this week, try to reproduce, if you can reproduce, then provide steps here so others can try it too. > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3100: Description: Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. Seems to be a regression introduced with one of the latest changes between 11.1 and 11.2. was:Plain Ant based Java Application is not runnable when using Java 11. It does work with Java 8. No error message, no log, total silence. > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. > Seems to be a regression introduced with one of the latest changes between > 11.1 and 11.2. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[netbeans-jenkins-lib] 01/01: Fix update_url and plugin_url to match current master
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch master-uc-patch in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git commit 9ed0abddc57007931a5cfd5d92aab7a41c1195c2 Author: Neil C Smith AuthorDate: Mon Sep 16 17:14:04 2019 +0100 Fix update_url and plugin_url to match current master --- meta/netbeansrelease.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index 1ca1d87..5302f80 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -124,8 +124,8 @@ "versionName": "-", "tlp": "true", "apidocurl": "https://bits.netbeans.org/dev/javadoc";, -"update_url": "https://builds.apache.org/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz";, -"plugin_url": "http://netbeans-vm.apache.org/pluginportal/data/latest/catalog-experimental.xml.gz";, +"update_url": "https://netbeans.apache.org/nb/updates/dev/updates.xml.gz?{$netbeans.hash.code}";, +"plugin_url": "https://netbeans.apache.org/nb/plugins/dev/catalog.xml.gz";, "releasedate": { "day": "-", "month": "-", - 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
[netbeans-jenkins-lib] branch master-uc-patch created (now 9ed0abd)
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a change to branch master-uc-patch in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git. at 9ed0abd Fix update_url and plugin_url to match current master This branch includes the following new commits: new 9ed0abd Fix update_url and plugin_url to match current master The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. - 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
[netbeans-jenkins-lib] branch master updated: date change for release111
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 09ef14e date change for release111 09ef14e is described below commit 09ef14e577b068886089fed53568dfe9dd612f24 Author: Eric Barboni AuthorDate: Mon Sep 16 16:42:23 2019 +0200 date change for release111 --- meta/netbeansrelease.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index 7c4bb72..1ca1d87 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -111,7 +111,7 @@ "previousreleasedate": { "day": "04", "month": "04", -"year": "2018" +"year": "2019" } }, "master": { - 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-3104) Extend ArchetypeWizards.definedArchetype to include optional nbactions
[ https://issues.apache.org/jira/browse/NETBEANS-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geertjan Wielenga updated NETBEANS-3104: Issue Type: Improvement (was: Bug) > Extend ArchetypeWizards.definedArchetype to include optional nbactions > -- > > Key: NETBEANS-3104 > URL: https://issues.apache.org/jira/browse/NETBEANS-3104 > Project: NetBeans > Issue Type: Improvement >Reporter: Geertjan Wielenga >Priority: Major > > http://bits.netbeans.org/dev/javadoc/org-netbeans-api-maven/org/netbeans/api/maven/archetype/ArchetypeWizards.html -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3104) Extend ArchetypeWizards.definedArchetype to include optional nbactions
Geertjan Wielenga created NETBEANS-3104: --- Summary: Extend ArchetypeWizards.definedArchetype to include optional nbactions Key: NETBEANS-3104 URL: https://issues.apache.org/jira/browse/NETBEANS-3104 Project: NetBeans Issue Type: Bug Reporter: Geertjan Wielenga http://bits.netbeans.org/dev/javadoc/org-netbeans-api-maven/org/netbeans/api/maven/archetype/ArchetypeWizards.html -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3103) Formatting is broken with class constant code completion(self::)
[ https://issues.apache.org/jira/browse/NETBEANS-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junichi Yamamoto updated NETBEANS-3103: --- Description: h2. Example code {code:php} Formatting is broken with class constant code completion(self::) > > > Key: NETBEANS-3103 > URL: https://issues.apache.org/jira/browse/NETBEANS-3103 > Project: NetBeans > Issue Type: Bug > Components: php - Editor, php - Formatting & Indentation >Affects Versions: 11.2 >Reporter: Junichi Yamamoto >Assignee: Junichi Yamamoto >Priority: Major > > h2. Example code > {code:php} > class ClassName { > // ^ is the caret position > // select "self::" or "parent::" in CC list > private const CONSTANT = ^; > } > {code} > h2. Expected result > {code:php} > class ClassName { > private const CONSTANT = self::; > } > {code} > h2. Actual result > {code:php} > class ClassName { > private const CONSTANT = self > ::; > } > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3103) Formatting is broken with class constant code completion(self::)
Junichi Yamamoto created NETBEANS-3103: -- Summary: Formatting is broken with class constant code completion(self::) Key: NETBEANS-3103 URL: https://issues.apache.org/jira/browse/NETBEANS-3103 Project: NetBeans Issue Type: Bug Components: php - Editor, php - Formatting & Indentation Affects Versions: 11.2 Reporter: Junichi Yamamoto Assignee: Junichi Yamamoto h2. Example code {code:php} https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3102) Wrong encoding for files in include path
Gonçalo Peres created NETBEANS-3102: --- Summary: Wrong encoding for files in include path Key: NETBEANS-3102 URL: https://issues.apache.org/jira/browse/NETBEANS-3102 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 11.0 Environment: Windows 7, Java 8 update 211, NetBeans 11.0 Reporter: Gonçalo Peres I've a PHP Project with a bunch of PHP files on a directory "D:/www/project_php" with Encoding in UTF-8 and PHP Version 7.3.4 . I add a directory (D:/www/include_path) with some other PHP files to the include path. These files are in UTF-8 enconding, but show in the Netbeans Editor as ANSI with all the accentuated characters with encoding errors. {code:java} return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi possÃvel obter o código fonte da página.\n", 'html'=>$html);{code} {{it should be:}} {code:java} return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi possível obter o código fonte da página.\n", 'html'=>$html);{code} Tested this by opening a file on the include path in Notepad++ and converting it to ANSI, it then shows OK on the Netbeans Editor, withou garbage characters, confirming that although the project is in UTF-8 and all files in the project directory are rendered in UTF-8, the Netbeans Editor show the files on the include path as ANSI. Please correct this. Thank you! -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2415) Bring back support for WildFly server
[ https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930539#comment-16930539 ] Emmanuel Hugonnet commented on NETBEANS-2415: - Maybe this is due to the fact that I built against master. i'll try to see what happens with the 11.x branch > Bring back support for WildFly server > - > > Key: NETBEANS-2415 > URL: https://issues.apache.org/jira/browse/NETBEANS-2415 > Project: NetBeans > Issue Type: Wish > Components: serverplugins - WildFly >Affects Versions: 11.0 > Environment: n.a. >Reporter: Dominik Derwiński >Assignee: Emmanuel Hugonnet >Priority: Minor > > NetBeans 8.2 had WildFly server module, which helped greatly in debugging > Java EE applications directly from IDE. NetBeans 11.0 does not contain this > module, despite boasting to be the first version of Apache NetBeans to offer > full support for developing Java EE applications. > I don't think it would be very hard to bring back WildFly server module > (currently it does not complile), because copying files of the module from > NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is > enough to bring back that functionality (so the old module still works, but > for how long?). > The files I have copied (after removing references to localization files) are: > * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml > * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar > * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2415) Bring back support for WildFly server
[ https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930500#comment-16930500 ] T Gergely commented on NETBEANS-2415: - I've had the same ”no properties pane” and ”stuck initializing" problems with NetBeans 11. Here's the cause: {quote}java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.javaee.wildfly.ide.WildflyJ2eePlatformFactory$J2eePlatformImplImpl at org.netbeans.modules.javaee.wildfly.ide.WildflyJ2eePlatformFactory.getJ2eePlatformImpl(WildflyJ2eePlatformFactory.java:86) {quote} caused by {quote}java.lang.NoSuchFieldError: *JAVA_EE_8_FULL* at org.netbeans.modules.javaee.wildfly.ide.WildflyJ2eePlatformFactory$J2eePlatformImplImpl.(WildflyJ2eePlatformFactory.java:111) {quote} > Bring back support for WildFly server > - > > Key: NETBEANS-2415 > URL: https://issues.apache.org/jira/browse/NETBEANS-2415 > Project: NetBeans > Issue Type: Wish > Components: serverplugins - WildFly >Affects Versions: 11.0 > Environment: n.a. >Reporter: Dominik Derwiński >Assignee: Emmanuel Hugonnet >Priority: Minor > > NetBeans 8.2 had WildFly server module, which helped greatly in debugging > Java EE applications directly from IDE. NetBeans 11.0 does not contain this > module, despite boasting to be the first version of Apache NetBeans to offer > full support for developing Java EE applications. > I don't think it would be very hard to bring back WildFly server module > (currently it does not complile), because copying files of the module from > NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is > enough to bring back that functionality (so the old module still works, but > for how long?). > The files I have copied (after removing references to localization files) are: > * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml > * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar > * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[netbeans] branch master updated (b73fc97 -> 7efefb6)
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from b73fc97 [NETBEANS-3045]Install subsets (#1505) new cc60f59 Cleaner: Fixed spelling error in constant: MAX_ATTEPTS --> MAX_ATTEMPTS new d6faa0a Cleaner: Removed commented-out code and added explanatory comments. new 0d0868a [NETBEANS-3094] NBI cleaner process must attempt to delete read-only files too. new 7efefb6 Merge pull request #1504 from lbruun/cleaner-remove-readonly-too The 2952 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: nbi/engine/native/cleaner/windows/src/main.c | 241 ++- 1 file changed, 125 insertions(+), 116 deletions(-) - 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-3101) Can't launch (and connect) NetBeans from node
Jaroslav Tulach created NETBEANS-3101: - Summary: Can't launch (and connect) NetBeans from node Key: NETBEANS-3101 URL: https://issues.apache.org/jira/browse/NETBEANS-3101 Project: NetBeans Issue Type: Bug Components: platform - Launchers&CLI Reporter: Jaroslav Tulach I am trying to connect to a *NetBeans* based application from _Visual Studio_ - aka _Electron_ - aka *node*. Somehow the *node* mangles network setup and the InetAddress.getHostAddress() isn't the same. To reproduce create following structure of files: {code:java} $ ls -l | cut -c50- dump.hprof nb.js nb.sh netbeans -> /home/devel/bin/netbeans/bin/netbeans $ cat nb.sh ./netbeans 'dump.hprof' $ cat nb.js var exec = require("child_process").execFile; let path = './netbeans';let vvm = exec(path, [ 'dump.hprof' ]){code} Then start *./netbeans* on background and wait for the GUI to launch. Then do following from command line: {code:java} ./jvm.sh {code} The dump.hprof file opens in the the GUI. Close it and try the same via *node.js*: {code:java} node ./jvm.js {code} The heap dump isn't shown (on my computer), rather a warning dialog appears. Result of node and shell script disagreeing on what is local host address. One is using IPv6 and one IPv4. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[netbeans] branch master updated: Use correct version of nbm plugin
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 9e32a85 Use correct version of nbm plugin 9e32a85 is described below commit 9e32a853c38f2b7514a42a3395a673d8ad06300f Author: Eric Barboni AuthorDate: Mon Sep 16 12:38:10 2019 +0200 Use correct version of nbm plugin 4.12 is not a valid version --- .../src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java b/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java index fea023a..214ad71 100644 --- a/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java +++ b/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java @@ -107,7 +107,7 @@ public class MavenNbModuleImpl implements NbModuleProvider { public static final String GROUPID_MOJO = "org.codehaus.mojo"; public static final String GROUPID_APACHE = "org.apache.netbeans.utilities"; public static final String NBM_PLUGIN = "nbm-maven-plugin"; -public static final String LATEST_NBM_PLUGIN_VERSION = "4.12"; +public static final String LATEST_NBM_PLUGIN_VERSION = "4.2"; public static final String NETBEANSAPI_GROUPID = "org.netbeans.api"; - 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
[netbeans] branch master updated: [NETBEANS-3096]:Updation for external nb-javac jar in libs.javacapi and libs.javaimpl modules with nb-javac jar for jdk-13 (#1506)
This is an automated email from the ASF dual-hosted git repository. arusinha pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new ba9af0e [NETBEANS-3096]:Updation for external nb-javac jar in libs.javacapi and libs.javaimpl modules with nb-javac jar for jdk-13 (#1506) ba9af0e is described below commit ba9af0e3868646536a29b1ac77b5738ac63bddc6 Author: Arunava Sinha AuthorDate: Mon Sep 16 14:54:49 2019 +0530 [NETBEANS-3096]:Updation for external nb-javac jar in libs.javacapi and libs.javaimpl modules with nb-javac jar for jdk-13 (#1506) --- .../java/completion/JavaCompletionTask113FeaturesTest.java| 11 --- .../modules/java/source/nbjavac/parsing/TreeLoader.java | 4 +++- java/libs.javacapi/external/binaries-list | 2 +- ...b-javac-12-api-license.txt => nb-javac-13-api-license.txt} | 2 +- java/libs.javacapi/nbproject/org-netbeans-libs-javacapi.sig | 6 -- java/libs.javacapi/nbproject/project.xml | 2 +- java/libs.javacimpl/external/binaries-list| 2 +- ...javac-12-impl-license.txt => nb-javac-13-impl-license.txt} | 2 +- java/libs.javacimpl/nbproject/project.xml | 2 +- nbbuild/templates/projectized.xml | 2 +- 10 files changed, 22 insertions(+), 13 deletions(-) diff --git a/java/java.completion/test/unit/src/org/netbeans/modules/java/completion/JavaCompletionTask113FeaturesTest.java b/java/java.completion/test/unit/src/org/netbeans/modules/java/completion/JavaCompletionTask113FeaturesTest.java index 2c3758a..da74c2c 100644 --- a/java/java.completion/test/unit/src/org/netbeans/modules/java/completion/JavaCompletionTask113FeaturesTest.java +++ b/java/java.completion/test/unit/src/org/netbeans/modules/java/completion/JavaCompletionTask113FeaturesTest.java @@ -20,13 +20,15 @@ package org.netbeans.modules.java.completion; import javax.lang.model.SourceVersion; import org.netbeans.junit.NbTestSuite; - +import org.netbeans.modules.java.source.parsing.JavacParser; /** * * @author arusinha */ public class JavaCompletionTask113FeaturesTest extends CompletionTestBase { +private static String SOURCE_LEVEL = "1.13"; //NOI18N + public JavaCompletionTask113FeaturesTest(String testName) { super(testName); } @@ -44,14 +46,17 @@ public class JavaCompletionTask113FeaturesTest extends CompletionTestBase { } public void testSwitchExprAutoCompleteYieldValue() throws Exception { -performTest("SwitchExprForYieldWithValue", 1019, "yi", "SwitchExprYieldAutoCompletion.pass"); +performTest("SwitchExprForYieldWithValue", 1019, "yi", "SwitchExprYieldAutoCompletion.pass", SOURCE_LEVEL); } public void testSwitchExprAutoCompleteYieldValue2() throws Exception { -performTest("SwitchExprForYieldWithValue2", 1023, "yi", "SwitchExprYieldAutoCompletion.pass"); +performTest("SwitchExprForYieldWithValue2", 1023, "yi", "SwitchExprYieldAutoCompletion.pass", SOURCE_LEVEL); } public void noop() { } +static { +JavacParser.DISABLE_SOURCE_LEVEL_DOWNGRADE = true; +} } diff --git a/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java b/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java index 93b0c5a..63d3677 100644 --- a/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java +++ b/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java @@ -101,7 +101,9 @@ public class TreeLoader extends LazyTreeLoader { private static final ThreadLocal isTreeLoading = new ThreadLocal(); public static void preRegister(final Context context, final ClasspathInfo cpInfo, final boolean detached) { -context.put(lazyTreeLoaderKey, new TreeLoader(context, cpInfo, detached)); +LazyTreeLoader instance = context.get(lazyTreeLoaderKey); +if (instance == null) +context.put(lazyTreeLoaderKey, new TreeLoader(context, cpInfo, detached)); } public static TreeLoader instance (final Context ctx) { diff --git a/java/libs.javacapi/external/binaries-list b/java/libs.javacapi/external/binaries-list index f730817..b76e2e6 100644 --- a/java/libs.javacapi/external/binaries-list +++ b/java/libs.javacapi/external/binaries-list @@ -14,4 +14,4 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -9FA2C56C15D013C391EF76E9AA07172F20447673 nb-javac-12-api.jar +E6F49BAA176938C82F4EBAA148F8A8AB13556233 nb-javac-13-api.jar diff --git a/java/libs.javacapi/external/nb-javac-12-api-license.txt b/java/libs.javacapi/external/nb-javac-13-api-license.txt similarity index 99% rename f
[jira] [Commented] (NETBEANS-3100) Ant project not runnable
[ https://issues.apache.org/jira/browse/NETBEANS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930272#comment-16930272 ] Benjamin Graf commented on NETBEANS-3100: - It works with 11.1. > Ant project not runnable > > > Key: NETBEANS-3100 > URL: https://issues.apache.org/jira/browse/NETBEANS-3100 > Project: NetBeans > Issue Type: Bug > Components: projects - Ant Project >Affects Versions: 11.2 > Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release > Windows > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Plain Ant based Java Application is not runnable when using Java 11. It does > work with Java 8. No error message, no log, total silence. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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