[jira] [Created] (NETBEANS-479) Java Hint to replace explicit type of variable with var
ARUNAVA SINHA created NETBEANS-479: -- Summary: Java Hint to replace explicit type of variable with var Key: NETBEANS-479 URL: https://issues.apache.org/jira/browse/NETBEANS-479 Project: NetBeans Issue Type: Improvement Reporter: ARUNAVA SINHA Assignee: ARUNAVA SINHA The IDE will include a prompt to replace the explicit types with ‘var’, when the type can be inferred from the context. e.g.., String str = new String("Hello"); can be replaced with var str = new String("hello"); *Preconditions for the hint:* 1. hint should be enabled only for JDK10 or higher 2. hint should work only inside block scope 3. hint should be disabled is var type is already present. -- 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-477) Hints " 'var' is not allowed here" shows two times.
[ https://issues.apache.org/jira/browse/NETBEANS-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vikas kumar prabhakar updated NETBEANS-477: --- Labels: JDK10-LVTI (was: ) > Hints " 'var' is not allowed here" shows two times. > > > Key: NETBEANS-477 > URL: https://issues.apache.org/jira/browse/NETBEANS-477 > Project: NetBeans > Issue Type: Bug >Reporter: vikas kumar prabhakar >Assignee: vikas kumar prabhakar >Priority: Trivial > Labels: JDK10-LVTI > > Sometimes h{color:#33}ints " 'var' is not allowed here" shows two times. > {color} > {color:#33}It is random behavior.{color} > {color:#33}Ex: 1. Object o2 = (var)o;{color} > {color:#33}2. try { > Function f = (var x2) -> ""; > } *catch (var ex) \{ }*{color} > -- 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-477) Hints " 'var' is not allowed here" shows two times.
vikas kumar prabhakar created NETBEANS-477: -- Summary: Hints " 'var' is not allowed here" shows two times. Key: NETBEANS-477 URL: https://issues.apache.org/jira/browse/NETBEANS-477 Project: NetBeans Issue Type: Bug Reporter: vikas kumar prabhakar Assignee: vikas kumar prabhakar Sometimes h{color:#33}ints " 'var' is not allowed here" shows two times. {color} {color:#33}It is random behavior.{color} {color:#33}Ex: 1. Object o2 = (var)o;{color} {color:#33}2. try { Function f = (var x2) -> ""; } *catch (var ex) \{ }*{color} -- 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-476) uihandler.InstallerTest fails on Mac
Austin Stephens created NETBEANS-476: Summary: uihandler.InstallerTest fails on Mac Key: NETBEANS-476 URL: https://issues.apache.org/jira/browse/NETBEANS-476 Project: NetBeans Issue Type: Bug Components: platform - Actions Affects Versions: 9.0, Next Reporter: Austin Stephens {noformat} java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) at org.netbeans.modules.uihandler.InstallerTest.runTestInEQ(InstallerTest.java:69) at org.netbeans.modules.uihandler.InstallerTest.testLeftAligned(InstallerTest.java:514) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275) Caused by: java.lang.RuntimeException: junit.framework.AssertionFailedError: Mnemonics expected:<83> but was:<0> at org.netbeans.modules.uihandler.InstallerTest$1.run(InstallerTest.java:84) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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) Caused by: junit.framework.AssertionFailedError: Mnemonics expected:<83> but was:<0> at org.netbeans.modules.uihandler.InstallerTest.inEQtestLeftAligned(InstallerTest.java:541) at org.netbeans.modules.uihandler.InstallerTest$1.run(InstallerTest.java:74) {noformat} Expected 'S' but got '\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-476) uihandler.InstallerTest fails on Mac
[ https://issues.apache.org/jira/browse/NETBEANS-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-476: - Environment: Mac > uihandler.InstallerTest fails on Mac > > > Key: NETBEANS-476 > URL: https://issues.apache.org/jira/browse/NETBEANS-476 > Project: NetBeans > Issue Type: Bug > Components: platform - Actions >Affects Versions: 9.0, Next > Environment: Mac >Reporter: Austin Stephens >Priority: Major > Labels: test-fail, test-failure, test-failure-fresh > > {noformat} > java.lang.reflect.InvocationTargetException > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) > at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) > at > org.netbeans.modules.uihandler.InstallerTest.runTestInEQ(InstallerTest.java:69) > at > org.netbeans.modules.uihandler.InstallerTest.testLeftAligned(InstallerTest.java:514) > at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) > at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) > at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) > at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) > at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275) > Caused by: java.lang.RuntimeException: junit.framework.AssertionFailedError: > Mnemonics expected:<83> but was:<0> > at > org.netbeans.modules.uihandler.InstallerTest$1.run(InstallerTest.java:84) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > 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:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > 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) > Caused by: junit.framework.AssertionFailedError: Mnemonics expected:<83> but > was:<0> > at > org.netbeans.modules.uihandler.InstallerTest.inEQtestLeftAligned(InstallerTest.java:541) > at > org.netbeans.modules.uihandler.InstallerTest$1.run(InstallerTest.java:74) > {noformat} > Expected 'S' but got '\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] [Created] (NETBEANS-475) org.netbeans.modules.templatesui.CompatibilityKitTest Deadlocks on mac
Austin Stephens created NETBEANS-475: Summary: org.netbeans.modules.templatesui.CompatibilityKitTest Deadlocks on mac Key: NETBEANS-475 URL: https://issues.apache.org/jira/browse/NETBEANS-475 Project: NetBeans Issue Type: Bug Components: platform - HTML4J Affects Versions: 9.0, Next Environment: Mac Reporter: Austin Stephens This test deadlocks for the same reason the html.uiapi tests do ([NETBEANS-468]) -- 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-474) VersioningQueryTest in org.netbeans.api.queries fails when not debugged but passes when debugged on mac
Austin Stephens created NETBEANS-474: Summary: VersioningQueryTest in org.netbeans.api.queries fails when not debugged but passes when debugged on mac Key: NETBEANS-474 URL: https://issues.apache.org/jira/browse/NETBEANS-474 Project: NetBeans Issue Type: Bug Components: platform - Other Affects Versions: 9.0, Next Environment: Mac Reporter: Austin Stephens {noformat} junit.framework.AssertionFailedError at org.netbeans.api.queries.VersioningQueryTest.testNormalized(VersioningQueryTest.java:81) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at java.lang.Thread.run(Thread.java:748) {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] [Created] (NETBEANS-473) org.openide.awt.ActionsTest.testTooltipsContainAccelerator Fails on macs
Austin Stephens created NETBEANS-473: Summary: org.openide.awt.ActionsTest.testTooltipsContainAccelerator Fails on macs Key: NETBEANS-473 URL: https://issues.apache.org/jira/browse/NETBEANS-473 Project: NetBeans Issue Type: Bug Components: platform - Actions Affects Versions: 9.0, Next Environment: Mac Reporter: Austin Stephens {noformat} junit.framework.AssertionFailedError at org.openide.awt.ActionsTest.testTooltipsContainAccelerator(ActionsTest.java:391) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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) {noformat} The tooltip is actually "^+C" -- 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-473) org.openide.awt.ActionsTest.testTooltipsContainAccelerator Fails on macs
[ https://issues.apache.org/jira/browse/NETBEANS-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-473: - Description: {noformat} junit.framework.AssertionFailedError at org.openide.awt.ActionsTest.testTooltipsContainAccelerator(ActionsTest.java:391) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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) {noformat} The tooltip is actually "^+C". It was expecting "Ctrl+C". was: {noformat} junit.framework.AssertionFailedError at org.openide.awt.ActionsTest.testTooltipsContainAccelerator(ActionsTest.java:391) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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) {noformat} The tooltip is actually "^+C" > org.openide.awt.ActionsTest.testTooltipsContainAccelerator Fails on macs > > > Key: NETBEANS-473 > URL: https://issues.apache.org/jira/browse/NETBEANS-473 > Project: NetBeans > Issue Type: Bug > Components: platform - Actions >Affects Versions: 9.0, Next > Environment: Mac >Reporter: Austin Stephens >Priority: Major > Labels: test-fail, test-failure, test-failure-fresh > > {noformat} > junit.framework.AssertionFailedError > at > org.openide.awt.ActionsTest.testTooltipsContainAccelerator(ActionsTest.java:391) > at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) > at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) > at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > 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:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > 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
[jira] [Updated] (NETBEANS-350) Commit validation fails on master build
[ https://issues.apache.org/jira/browse/NETBEANS-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-350: - Labels: test-fail test-failure test-failure-fresh (was: ) > Commit validation fails on master build > --- > > Key: NETBEANS-350 > URL: https://issues.apache.org/jira/browse/NETBEANS-350 > Project: NetBeans > Issue Type: Bug > Components: ide - Code >Affects Versions: 9.0, Next >Reporter: Austin Stephens >Priority: Major > Labels: test-fail, test-failure, test-failure-fresh > > Someone needs to be shot... Will not pass on a clean build. -- 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-349) 2 tests in CustomMenuBarTest always fail
[ https://issues.apache.org/jira/browse/NETBEANS-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-349: - Labels: test-fail test-failure test-failure-fresh (was: ) > 2 tests in CustomMenuBarTest always fail > > > Key: NETBEANS-349 > URL: https://issues.apache.org/jira/browse/NETBEANS-349 > Project: NetBeans > Issue Type: Bug > Components: platform - Window System >Affects Versions: 9.0 >Reporter: Austin Stephens >Priority: Major > Labels: test-fail, test-failure, test-failure-fresh > Attachments: 2018-01-31 09_09_46-Core - Windows - NetBeans IDE 8.2.png > > > They have yet to pass for me. -- 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-472) Keymap tests fail in o.n.core when on mac
[ https://issues.apache.org/jira/browse/NETBEANS-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-472: - Labels: test-fail test-failure-fresh (was: test-fail) > Keymap tests fail in o.n.core when on mac > - > > Key: NETBEANS-472 > URL: https://issues.apache.org/jira/browse/NETBEANS-472 > Project: NetBeans > Issue Type: Bug > Components: platform - Actions >Affects Versions: 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Major > Labels: test-fail, test-failure-fresh > Fix For: 9.0 > > > {noformat} > for ctrl pressed 1 > junit.framework.AssertionFailedError > at org.netbeans.core.NbKeymapTest.assertMapping(NbKeymapTest.java:92) > at > org.netbeans.core.NbKeymapTest.testAbstractModifiers(NbKeymapTest.java:181) > at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) > at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) > at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) > at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) > at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275) > {noformat} > {noformat} > > java.lang.NullPointerException at > org.netbeans.core.NbKeymapTest.testMaskForSameKeystrokeWithDifferentText217497(NbKeymapTest.java:283) > at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at > org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at > org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at > org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) at > org.netbeans.junit.NbTestCase.run(NbTestCase.java:275) > {noformat} > This is likely because 'O' maps to cmd instead of ctrl on a mac -- 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-468) api.htmlui tests deadlock on mac when run
[ https://issues.apache.org/jira/browse/NETBEANS-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-468: - Labels: test-fail test-failure-fresh (was: test-failure-fresh) > api.htmlui tests deadlock on mac when run > - > > Key: NETBEANS-468 > URL: https://issues.apache.org/jira/browse/NETBEANS-468 > Project: NetBeans > Issue Type: Bug > Components: platform - HTML4J >Affects Versions: 9.0, Next > Environment: Mac >Reporter: Austin Stephens >Priority: Major > Labels: test-fail, test-failure-fresh > Fix For: 9.0 > > > It might be related to NETBEANS-373. It appears that the system deadlocks > when creating the UI. The FX thread is the Native Ui thread on a mac. It > appears that FX is waiting for Swing, which is waiting for the native thread > to do something. Not very sure about it. Here are the stack traces I got > (might be different each time): > Swing EDT: > {noformat} > GraphicsEnvironment.getLocalGraphicsEnvironment:81 > RepaintManager.:233 > UIManager.initialize:1464 > UIManager.maybeInitialize:1426 > UIManager.getDefaults:659 > UIManager.getBoolean:867 > ImageUtilities.isDarkLaF:182 > ImageUtilities.loadImage:142 > Splash.loadContent:215 > Splash$SplashPainter.init:353 > Splash$SplashPainter$1.run:400 > InvocationEvent.dispatch:311 > EventQueue.dispatchEventImpl:756 > EventQueue.access$500:97 > EventQueue$3.run:709 > EventQueue$3.run:703 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:80 > EventQueue.dispatchEvent:726 > EventDispatchThread.pumpOneEventForFilters:201 > EventDispatchThread.pumpEventsForFilter:116 > EventDispatchThread.pumpEventsForHierarchy:105 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.pumpEvents:93 > EventDispatchThread.run:82 {noformat} > AppKit/FX thread: > {noformat} > UIManager.maybeInitialize:1424 > UIManager.getLookAndFeel:492 > NbBrowsers.applyNbSkin:62 > NbBrowsers$1ApplySkin.run:54 > Hidden Source Calls > InitializeWebView.run:45 > BrowserBuilder$1OnPageLoad$1CallInitMethod.run:310 > BrwsrCtx$1Wrap.run:120 > AbstractFXPresenter.execute:354 > BrwsrCtx.execute:131 > BrowserBuilder$1OnPageLoad.run:348 > AbstractFXPresenter.onPageLoad:135 > InitializeWebView$1.changed:64 > InitializeWebView$1.changed:57 > ExpressionHelper$SingleChange.fireValueChangedEvent:182 > ExpressionHelper.fireValueChangedEvent:81 > ReadOnlyObjectPropertyBase.fireValueChangedEvent:74 > ReadOnlyObjectWrapper.fireValueChangedEvent:102 > ObjectPropertyBase.markInvalid:112 > ObjectPropertyBase.set:146 > WebEngine$LoadWorker.updateState:1287 > WebEngine$LoadWorker.dispatchLoadEvent:1398 > WebEngine$LoadWorker.access$1200:1280 > WebEngine$PageLoadListener.dispatchLoadEvent:1267 > WebPage.fireLoadEvent:2499 > WebPage.fwkFireLoadEvent:2343 > URLLoader.twkDidFinishLoading > URLLoader.notifyDidFinishLoading:859 > URLLoader.lambda$didFinishLoading$103:850 > 1530391356.run > PlatformImpl.lambda$null$172:295 > 1314999409.run > AccessController.doPrivileged > PlatformImpl.lambda$runLater$173:294 > 1702940637.run > InvokeLaterDispatcher$Future.run:95 {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] [Updated] (NETBEANS-468) api.htmlui tests deadlock on mac when run
[ https://issues.apache.org/jira/browse/NETBEANS-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Stephens updated NETBEANS-468: - Labels: test-failure-fresh (was: ) > api.htmlui tests deadlock on mac when run > - > > Key: NETBEANS-468 > URL: https://issues.apache.org/jira/browse/NETBEANS-468 > Project: NetBeans > Issue Type: Bug > Components: platform - HTML4J >Affects Versions: 9.0, Next > Environment: Mac >Reporter: Austin Stephens >Priority: Major > Labels: test-failure-fresh > Fix For: 9.0 > > > It might be related to NETBEANS-373. It appears that the system deadlocks > when creating the UI. The FX thread is the Native Ui thread on a mac. It > appears that FX is waiting for Swing, which is waiting for the native thread > to do something. Not very sure about it. Here are the stack traces I got > (might be different each time): > Swing EDT: > {noformat} > GraphicsEnvironment.getLocalGraphicsEnvironment:81 > RepaintManager.:233 > UIManager.initialize:1464 > UIManager.maybeInitialize:1426 > UIManager.getDefaults:659 > UIManager.getBoolean:867 > ImageUtilities.isDarkLaF:182 > ImageUtilities.loadImage:142 > Splash.loadContent:215 > Splash$SplashPainter.init:353 > Splash$SplashPainter$1.run:400 > InvocationEvent.dispatch:311 > EventQueue.dispatchEventImpl:756 > EventQueue.access$500:97 > EventQueue$3.run:709 > EventQueue$3.run:703 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:80 > EventQueue.dispatchEvent:726 > EventDispatchThread.pumpOneEventForFilters:201 > EventDispatchThread.pumpEventsForFilter:116 > EventDispatchThread.pumpEventsForHierarchy:105 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.pumpEvents:93 > EventDispatchThread.run:82 {noformat} > AppKit/FX thread: > {noformat} > UIManager.maybeInitialize:1424 > UIManager.getLookAndFeel:492 > NbBrowsers.applyNbSkin:62 > NbBrowsers$1ApplySkin.run:54 > Hidden Source Calls > InitializeWebView.run:45 > BrowserBuilder$1OnPageLoad$1CallInitMethod.run:310 > BrwsrCtx$1Wrap.run:120 > AbstractFXPresenter.execute:354 > BrwsrCtx.execute:131 > BrowserBuilder$1OnPageLoad.run:348 > AbstractFXPresenter.onPageLoad:135 > InitializeWebView$1.changed:64 > InitializeWebView$1.changed:57 > ExpressionHelper$SingleChange.fireValueChangedEvent:182 > ExpressionHelper.fireValueChangedEvent:81 > ReadOnlyObjectPropertyBase.fireValueChangedEvent:74 > ReadOnlyObjectWrapper.fireValueChangedEvent:102 > ObjectPropertyBase.markInvalid:112 > ObjectPropertyBase.set:146 > WebEngine$LoadWorker.updateState:1287 > WebEngine$LoadWorker.dispatchLoadEvent:1398 > WebEngine$LoadWorker.access$1200:1280 > WebEngine$PageLoadListener.dispatchLoadEvent:1267 > WebPage.fireLoadEvent:2499 > WebPage.fwkFireLoadEvent:2343 > URLLoader.twkDidFinishLoading > URLLoader.notifyDidFinishLoading:859 > URLLoader.lambda$didFinishLoading$103:850 > 1530391356.run > PlatformImpl.lambda$null$172:295 > 1314999409.run > AccessController.doPrivileged > PlatformImpl.lambda$runLater$173:294 > 1702940637.run > InvokeLaterDispatcher$Future.run:95 {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] [Created] (NETBEANS-472) Keymap tests fail in o.n.core when on mac
Austin Stephens created NETBEANS-472: Summary: Keymap tests fail in o.n.core when on mac Key: NETBEANS-472 URL: https://issues.apache.org/jira/browse/NETBEANS-472 Project: NetBeans Issue Type: Bug Components: platform - Actions Affects Versions: 9.0 Environment: Mac Reporter: Austin Stephens Fix For: 9.0 {noformat} for ctrl pressed 1 junit.framework.AssertionFailedError at org.netbeans.core.NbKeymapTest.assertMapping(NbKeymapTest.java:92) at org.netbeans.core.NbKeymapTest.testAbstractModifiers(NbKeymapTest.java:181) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275) {noformat} {noformat} java.lang.NullPointerException at org.netbeans.core.NbKeymapTest.testMaskForSameKeystrokeWithDifferentText217497(NbKeymapTest.java:283) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275) {noformat} This is likely because 'O' maps to cmd instead of ctrl on a mac -- 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-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
[ https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16400331#comment-16400331 ] efrem mccrimon commented on NETBEANS-461: - Hi, the date should be fine but see what the previous versions reported for version numbers. I think the files should be listed in the binary-list. How are other similar dll being handled? from NB 8.2 reports: org.netbeans.modules.extbrowser1.53.1 Enabled from NB 8.0.2 reports: org.netbeans.modules.extbrowser1.48.1 Enabled Regards, Efrem McCrimon (efremmc2) > Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl > --- > > Key: NETBEANS-461 > URL: https://issues.apache.org/jira/browse/NETBEANS-461 > Project: NetBeans > Issue Type: Bug > Components: ide - Code >Affects Versions: 9.0 >Reporter: efrem mccrimon >Priority: Major > Labels: pull-request-available > Attachments: messages.log > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Class not initializing > When navigating to Window->Web->Web Browser > throws the error even when a default Browser is configured in Options > settings. > I was testing XSL Transformations, "Process Output" settings - Open in > Browser fails > > > java.lang.NoClassDefFoundError: Could not initialize class > org.netbeans.modules.extbrowser.NbDdeBrowserImpl > at > org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85) > at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100) > at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47) > at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55) > at > org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49) > at > org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105) > at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70) > at > org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91) > at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74) > at > org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102) > 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:833) > at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) > at java.awt.Component.processMouseEvent(Component.java:6533) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) > at java.awt.Component.processEvent(Component.java:6298) > at java.awt.Container.processEvent(Container.java:2236) > at java.awt.Component.dispatchEventImpl(Component.java:4889) > at java.awt.Container.dispatchEventImpl(Container.java:2294) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) > at java.awt.Container.dispatchEventImpl(Container.java:2280) > at java.awt.Window.dispatchEventImpl(Window.java:2746) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > 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:76) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) > at
[jira] [Updated] (NETBEANS-471) PSR.2 formatting
[ https://issues.apache.org/jira/browse/NETBEANS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bo Andersen updated NETBEANS-471: - Description: Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments|https://www.php-fig.org/psr/psr-2/#44-method-arguments] {code:java} class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line } } {code} This is tested on Build incubator-netbeans-release-205-on-20180202. was: Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments|https://www.php-fig.org/psr/psr-2/#44-method-arguments.] {code:java} class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line } } {code} This is tested on Build incubator-netbeans-release-205-on-20180202. > PSR.2 formatting > - > > Key: NETBEANS-471 > URL: https://issues.apache.org/jira/browse/NETBEANS-471 > Project: NetBeans > Issue Type: Bug > Components: php - Formatting Indentation >Reporter: Bo Andersen >Priority: Minor > > Formatting is not following PSR-2 regarding curly braces on function > declarations, please see > [https://www.php-fig.org/psr/psr-2/#44-method-arguments|https://www.php-fig.org/psr/psr-2/#44-method-arguments] > > {code:java} > class ClassName { > public function aVeryLongMethodName( >ClassTypeHint $arg1, >&$arg2, >array $arg3 = []) { // Should move the parenthesize and curly brace to the > next line > } > public function myMethod() { // Only the curly brace should be on next line > } > } > {code} > > This is tested on Build incubator-netbeans-release-205-on-20180202. -- 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-471) PSR.2 formatting
[ https://issues.apache.org/jira/browse/NETBEANS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bo Andersen updated NETBEANS-471: - Description: Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments|https://www.php-fig.org/psr/psr-2/#44-method-arguments.] {code:java} class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line } } {code} This is tested on Build incubator-netbeans-release-205-on-20180202. was: Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments.] {code:java} class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line } } {code} This is tested on Build incubator-netbeans-release-205-on-20180202. > PSR.2 formatting > - > > Key: NETBEANS-471 > URL: https://issues.apache.org/jira/browse/NETBEANS-471 > Project: NetBeans > Issue Type: Bug > Components: php - Formatting Indentation >Reporter: Bo Andersen >Priority: Minor > > Formatting is not following PSR-2 regarding curly braces on function > declarations, please see > [https://www.php-fig.org/psr/psr-2/#44-method-arguments|https://www.php-fig.org/psr/psr-2/#44-method-arguments.] > > {code:java} > class ClassName { > public function aVeryLongMethodName( >ClassTypeHint $arg1, >&$arg2, >array $arg3 = []) { // Should move the parenthesize and curly brace to the > next line > } > public function myMethod() { // Only the curly brace should be on next line > } > } > {code} > > This is tested on Build incubator-netbeans-release-205-on-20180202. -- 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-471) PSR.2 formatting
[ https://issues.apache.org/jira/browse/NETBEANS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bo Andersen updated NETBEANS-471: - Description: Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments.] {code:java} class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line } } {code} This is tested on Build incubator-netbeans-release-205-on-20180202. was: Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments.] {{class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line }}} {{}}} This is tested on Build incubator-netbeans-release-205-on-20180202. > PSR.2 formatting > - > > Key: NETBEANS-471 > URL: https://issues.apache.org/jira/browse/NETBEANS-471 > Project: NetBeans > Issue Type: Bug > Components: php - Formatting Indentation >Reporter: Bo Andersen >Priority: Minor > > Formatting is not following PSR-2 regarding curly braces on function > declarations, please see > [https://www.php-fig.org/psr/psr-2/#44-method-arguments.] > > {code:java} > class ClassName { > public function aVeryLongMethodName( >ClassTypeHint $arg1, >&$arg2, >array $arg3 = []) { // Should move the parenthesize and curly brace to the > next line > } > public function myMethod() { // Only the curly brace should be on next line > } > } > {code} > > This is tested on Build incubator-netbeans-release-205-on-20180202. -- 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-471) PSR.2 formatting
[ https://issues.apache.org/jira/browse/NETBEANS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bo Andersen updated NETBEANS-471: - Component/s: php - Formatting & Indentation > PSR.2 formatting > - > > Key: NETBEANS-471 > URL: https://issues.apache.org/jira/browse/NETBEANS-471 > Project: NetBeans > Issue Type: Bug > Components: php - Formatting Indentation >Reporter: Bo Andersen >Priority: Minor > > Formatting is not following PSR-2 regarding curly braces on function > declarations, please see > [https://www.php-fig.org/psr/psr-2/#44-method-arguments.] > > {{class ClassName { > public function aVeryLongMethodName( > ClassTypeHint $arg1, > &$arg2, > array $arg3 = []) > { // Should move the parenthesize and curly brace to the next line } > public function myMethod() { // Only the curly brace should be on next line > }}} > {{}}} > > > This is tested on Build incubator-netbeans-release-205-on-20180202. -- 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-471) PSR.2 formatting
Bo Andersen created NETBEANS-471: Summary: PSR.2 formatting Key: NETBEANS-471 URL: https://issues.apache.org/jira/browse/NETBEANS-471 Project: NetBeans Issue Type: Bug Reporter: Bo Andersen Formatting is not following PSR-2 regarding curly braces on function declarations, please see [https://www.php-fig.org/psr/psr-2/#44-method-arguments.] {{class ClassName { public function aVeryLongMethodName( ClassTypeHint $arg1, &$arg2, array $arg3 = []) { // Should move the parenthesize and curly brace to the next line } public function myMethod() { // Only the curly brace should be on next line }}} {{}}} This is tested on Build incubator-netbeans-release-205-on-20180202. -- 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-361) Disassembly Error: !Source not found
[ https://issues.apache.org/jira/browse/NETBEANS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyeonwoo O closed NETBEANS-361. --- Resolution: Not A Problem > Disassembly Error: !Source not found > > > Key: NETBEANS-361 > URL: https://issues.apache.org/jira/browse/NETBEANS-361 > Project: NetBeans > Issue Type: Bug > Components: ide - Code >Affects Versions: 9.0 > Environment: Windows 10 >Reporter: Hyeonwoo O >Priority: Major > Labels: build > > I have a problem in disassembly. > I write a simple code, and clicked 'Step Into', but disassembly tab is empty. > If I click 'Call Stack', some disassembly code is appeared but error message > also follows: > *!Source not found, file name: (file name).cpp, (line number)* > I tested it in NetBeans IDE Dev Build 201801230002. -- 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-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 updated NETBEANS-470: -- Labels: JDK10-LVTI (was: ) > 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] [Created] (NETBEANS-470) var type shows as keyword in jdk8,9
Reema Taneja created NETBEANS-470: - Summary: 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 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] [Updated] (NETBEANS-469) Tag become invalid after formatting in JavaDoc
[ https://issues.apache.org/jira/browse/NETBEANS-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ognyan Kulev updated NETBEANS-469: -- Description: Let's have the following JavaDoc for a class: {noformat} /** * Description. * * * sample code * */ {noformat} After formatting the source with Alt-Shift-F, the tag become invalid: {{ }} {noformat} /** * Description. * * < * pre> * sample code * */{noformat} Not only is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code. was: Let's have the following JavaDoc for a class: {{/**}} {{ * Description.}} {{ * }} {{ * }} {{ * sample code}} {{ * }} {{ */}} After formatting the source with Alt-Shift-F, the tag become invalid: {{ /**}} {{ * Description.}} {{ * }} {{ * <}} {{ * pre>}} {{ * sample code}} {{ * }} {{ */}} Not only is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code. > Tag become invalid after formatting in JavaDoc > > > Key: NETBEANS-469 > URL: https://issues.apache.org/jira/browse/NETBEANS-469 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting Indentation >Affects Versions: 9.0 > Environment: Product Version = Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202) > Operating System = Linux version 4.9.0-6-amd64 running on amd64 > Java; VM; Vendor = 1.8.0_151 > Runtime = OpenJDK 64-Bit Server VM 25.151-b12 >Reporter: Ognyan Kulev >Priority: Major > > Let's have the following JavaDoc for a class: > > {noformat} > /** > * Description. > * > * > * sample code > * > */ > {noformat} > After formatting the source with Alt-Shift-F, the tag become invalid: > {{ }} > {noformat} > /** > * Description. > * > * < > * pre> > * sample code > * > */{noformat} > Not only is no longer recognized tag, but subsequent formatting with > Alt-Shift-F breaks indentation in the sample code. -- 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-469) Tag become invalid after formatting in JavaDoc
[ https://issues.apache.org/jira/browse/NETBEANS-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ognyan Kulev updated NETBEANS-469: -- Description: Let's have the following JavaDoc for a class: {noformat} /** * Description. * * * sample code * */ {noformat} After formatting the source with Alt-Shift-F, the tag become invalid: {noformat} /** * Description. * * < * pre> * sample code * */{noformat} Not only is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code. was: Let's have the following JavaDoc for a class: {noformat} /** * Description. * * * sample code * */ {noformat} After formatting the source with Alt-Shift-F, the tag become invalid: {{ }} {noformat} /** * Description. * * < * pre> * sample code * */{noformat} Not only is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code. > Tag become invalid after formatting in JavaDoc > > > Key: NETBEANS-469 > URL: https://issues.apache.org/jira/browse/NETBEANS-469 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting Indentation >Affects Versions: 9.0 > Environment: Product Version = Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202) > Operating System = Linux version 4.9.0-6-amd64 running on amd64 > Java; VM; Vendor = 1.8.0_151 > Runtime = OpenJDK 64-Bit Server VM 25.151-b12 >Reporter: Ognyan Kulev >Priority: Major > > Let's have the following JavaDoc for a class: > {noformat} > /** > * Description. > * > * > * sample code > * > */ > {noformat} > After formatting the source with Alt-Shift-F, the tag become invalid: > {noformat} > /** > * Description. > * > * < > * pre> > * sample code > * > */{noformat} > Not only is no longer recognized tag, but subsequent formatting with > Alt-Shift-F breaks indentation in the sample code. -- 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-469) Tag become invalid after formatting in JavaDoc
Ognyan Kulev created NETBEANS-469: - Summary: Tag become invalid after formatting in JavaDoc Key: NETBEANS-469 URL: https://issues.apache.org/jira/browse/NETBEANS-469 Project: NetBeans Issue Type: Bug Components: editor - Formatting Indentation Affects Versions: 9.0 Environment: Product Version = Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202) Operating System = Linux version 4.9.0-6-amd64 running on amd64 Java; VM; Vendor = 1.8.0_151 Runtime = OpenJDK 64-Bit Server VM 25.151-b12 Reporter: Ognyan Kulev Let's have the following JavaDoc for a class: {{/**}} {{ * Description.}} {{ * }} {{ * }} {{ * sample code}} {{ * }} {{ */}} After formatting the source with Alt-Shift-F, the tag become invalid: {{ /**}} {{ * Description.}} {{ * }} {{ * <}} {{ * pre>}} {{ * sample code}} {{ * }} {{ */}} Not only is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code. -- 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-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
[ https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16399965#comment-16399965 ] Rick Hegarty commented on NETBEANS-461: --- I also see similar problems on Win 10 in the following ten scenarios unless *Tool > Options > Web Browser > Web Browser* is set to *Embedded WebKit Browser*: 1. Edit a Java source file, right click on a JDK method or class, then select *Open Javadoc*. 2. In the Projects panel select a project, right click and select *Generate Javadoc*. 3. In the Projects panel select a project, expand the Libraries node, right click on *JDK 1.8 (Default)* and select *Show Javadoc*. 4. In the Projects panel select a project using JUnit, expand the Test Libraries node, right click on *Junit 4.12* and select *Show Javadoc*. 5. In the Projects panel select a web project, right click and select *Run*. 6. Select Help > About then click on any of the URLs on the About page (e.g. *netbeans.apache.org*). 7. Select Help > Online Docs and Support. 8. Select Help > Javadoc Index Search. 9. Select Help > Javadoc References > select any submenu entry. 10. Select Window > Web > Web Browser. In all cases the error is _java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl_ This is my environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-366-on-20180314) Java: 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12 Runtime: Java(TM) SE Runtime Environment 1.8.0_162-b12 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev Here is a stack trace with Chrome set as the browser when selecting *Help > Online Docs and Support*: java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl at org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85) at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100) at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47) at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55) at org.netbeans.modules.url.URLDataObject.open(URLDataObject.java:227) at org.netbeans.modules.url.URLPresenter.actionPerformed(URLPresenter.java:159) 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:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) 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:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at