[netbeans] branch master updated: Remove check that blows up when the LSP or DAP server is reset.
This is an automated email from the ASF dual-hosted git repository. entl 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 aae0fcd Remove check that blows up when the LSP or DAP server is reset. aae0fcd is described below commit aae0fcd2997c1921280d8c6709551d8a0de57c64 Author: Martin Entlicher AuthorDate: Thu Oct 7 10:37:46 2021 +0200 Remove check that blows up when the LSP or DAP server is reset. --- .../src/org/netbeans/modules/java/lsp/server/LspSession.java| 6 -- 1 file changed, 6 deletions(-) diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/LspSession.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/LspSession.java index 5ed3a88..4df0d7c 100644 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/LspSession.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/LspSession.java @@ -53,9 +53,6 @@ public final class LspSession { * Set the launched LSP server. */ void setLspServer(NbLspServer lspServer) { -if (lspServer != null && this.lspServer != null) { -throw new IllegalStateException("LSP server is set already"); -} setServerLookup(lspServer, lspServices); this.lspServer = lspServer; } @@ -64,9 +61,6 @@ public final class LspSession { * Set the launched DAP server. */ void setDapServer(NbProtocolServer dapServer) { -if (dapServer != null && this.dapServer != null) { -throw new IllegalStateException("DAP server is set already"); -} setServerLookup(dapServer, dapServices); this.dapServer = dapServer; } - 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-5884) Jackpot doesn't work on JDK 17
[ https://issues.apache.org/jira/browse/NETBEANS-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426948#comment-17426948 ] Jaroslav Tulach commented on NETBEANS-5884: --- The voting for new version 12.5 is on https://lists.apache.org/thread.html/r95f0420ac8f2f89091492364921c1f85815dd44cf1c2d9d9d0ea895c%40%3Cdev.netbeans.apache.org%3E > Jackpot doesn't work on JDK 17 > -- > > Key: NETBEANS-5884 > URL: https://issues.apache.org/jira/browse/NETBEANS-5884 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 12.3 >Reporter: Jaroslav Tulach >Assignee: Jan Lahoda >Priority: Major > > {code:java} > java.lang.NoSuchMethodError: 'void > com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, > java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' > at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55) > at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40) > at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) > at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426923#comment-17426923 ] Bernard edited comment on NETBEANS-6089 at 10/11/21, 1:58 AM: -- Thanks a lot. I am trying to help here while effectively not making changes to my IDE to prevent the destruction of evidence. I started 12.5 with --userdir WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. — So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) In the NetBeans 12.5 installation, in fresh userdir WITOUT copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) — I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. – I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. was (Author: bht): Thanks a lot. I am trying to help here while effectively not making changes to my IDE to prevent the destruction of evidence. I started 12.5 with --userdir WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. — So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) — I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. – I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulatio
[jira] [Commented] (NETBEANS-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426923#comment-17426923 ] Bernard commented on NETBEANS-6089: --- Thanks a lot. I am trying to help here while effectively not making changes my IDE to prevent the destruction of evidence. I started 12.5 with --userdir WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. --- So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) --- I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. -- I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List cannot be converted to > List> > > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: > private final PopulationAccessibleEvolutionEngine > populationAccessibleEvolutionEngine; > The above code has parameterized type CgpNetwork as seen below: > public class PopulationAccessibleEvolutionEngine extends > GenerationalEvolutionEngine implements EvaluatedPopulationAccessible { > In Project settings: > Sources, Source/Binary Format: 1.8 > Build, Compile, Java Platform is JDK 14 (Default) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426923#comment-17426923 ] Bernard edited comment on NETBEANS-6089 at 10/11/21, 1:52 AM: -- Thanks a lot. I am trying to help here while effectively not making changes to my IDE to prevent the destruction of evidence. I started 12.5 with --userdir WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. — So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) — I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. – I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. was (Author: bht): Thanks a lot. I am trying to help here while effectively not making changes my IDE to prevent the destruction of evidence. I started 12.5 with --userdir WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. --- So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) --- I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. -- I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List cannot be converted to > List> > > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: >
[jira] [Commented] (NETBEANS-6114) Code completion for new Classname constructors broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426911#comment-17426911 ] Michael Bien commented on NETBEANS-6114: completion of {code:java} new Array{code} -> {code:java} new ArrayList<>{code} causes the popup to disappear while it should suggest the next completion for the constructors. Would be good to know from which version this behavior started, to take a look at the PRs or do a git bisect, unless [~jlahoda] can tell right away where to look for this :) > Code completion for new Classname constructors broken in 12.5 > - > > Key: NETBEANS-6114 > URL: https://issues.apache.org/jira/browse/NETBEANS-6114 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 >Reporter: Mitch Claborn >Priority: Minor > > I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in > the middle of the class name to finish the class name, I'm pretty sure that > NB 12.0 was automatically showing the various constructors in a code > completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. > The behavior from 12.0 should be restored, or at least create an option to > control this behavior. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426906#comment-17426906 ] Marc Private commented on NETBEANS-6089: I'm new here so take this FWIW. The log may suggest that something got goofed up when importing the 12.4 settings. Since there is no reset to default yet ([https://bz.apache.org/netbeans/show_bug.cgi?id=138595]) can you try reinstalling 12.5 but do not reimport your settings? See if the error persists on a vanilla install. > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List cannot be converted to > List> > > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: > private final PopulationAccessibleEvolutionEngine > populationAccessibleEvolutionEngine; > The above code has parameterized type CgpNetwork as seen below: > public class PopulationAccessibleEvolutionEngine extends > GenerationalEvolutionEngine implements EvaluatedPopulationAccessible { > In Project settings: > Sources, Source/Binary Format: 1.8 > Build, Compile, Java Platform is JDK 14 (Default) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Issue Comment Deleted] (NETBEANS-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Liu updated NETBEANS-6089: --- Comment: was deleted (was: I'm new here so take this FWIW. The log may suggest that something got goofed up when importing the 12.4 settings. Since there is no reset to default yet ([https://bz.apache.org/netbeans/show_bug.cgi?id=138595)] can you try reinstalling 12.5 but do not reimport your settings? See if the error persists on a vanilla install. ) > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List cannot be converted to > List> > > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: > private final PopulationAccessibleEvolutionEngine > populationAccessibleEvolutionEngine; > The above code has parameterized type CgpNetwork as seen below: > public class PopulationAccessibleEvolutionEngine extends > GenerationalEvolutionEngine implements EvaluatedPopulationAccessible { > In Project settings: > Sources, Source/Binary Format: 1.8 > Build, Compile, Java Platform is JDK 14 (Default) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426904#comment-17426904 ] Marc Liu commented on NETBEANS-6089: I'm new here so take this FWIW. The log may suggest that something got goofed up when importing the 12.4 settings. Since there is no reset to default yet ([https://bz.apache.org/netbeans/show_bug.cgi?id=138595)] can you try reinstalling 12.5 but do not reimport your settings? See if the error persists on a vanilla install. > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List cannot be converted to > List> > > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: > private final PopulationAccessibleEvolutionEngine > populationAccessibleEvolutionEngine; > The above code has parameterized type CgpNetwork as seen below: > public class PopulationAccessibleEvolutionEngine extends > GenerationalEvolutionEngine implements EvaluatedPopulationAccessible { > In Project settings: > Sources, Source/Binary Format: 1.8 > Build, Compile, Java Platform is JDK 14 (Default) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-6115) UTF-8 input is broken in Maven project
[ https://issues.apache.org/jira/browse/NETBEANS-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Machat updated NETBEANS-6115: -- Description: Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {code:java} Scanner sc = new Scanner(System.in, "UTF-8"); System.out.println("Enter text: "); String text = sc.nextLine(); System.out.println("You have entered: " + text); {code} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). Example of output: {code:java} cd /home/atrament/Nextcloud/Projects/java/InputTestMaven; JAVA_HOME=/opt/java/jdk-14.0.1+7-hotspot M2_HOME=/opt/maven /opt/maven/bin/mvn -Dexec.vmArgs= "-Dexec.args=${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}" -Dexec.appArgs= -Dexec.mainClass=net.atramentovo.inputtestmaven.Main -Dexec.executable=/opt/java/jdk-14.0.1+7-hotspot/bin/java -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:3.0.0:exec Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts. Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Scanning for projects...---< net.atramentovo:InputTestMaven >--- Building InputTestMaven 0.1 [ jar ] exec-maven-plugin:3.0.0:exec (default-cli) @ InputTestMaven --- Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Enter text: Řeka šuměla skalnatým údolím You have entered: Xeka aumla skalnat�m �dol�m BUILD SUCCESS Total time: 2.682 s Finished at: 2021-10-10T19:55:24+01:00 {code} was: Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {code:java} Scanner sc = new Scanner(System.in, "UTF-8"); System.out.println("Enter text: "); String text = sc.nextLine(); System.out.println("You have entered: " + text); {code} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). > UTF-8 input is broken in Maven project > -- > > Key: NETBEANS-6115 > URL: https://issues.apache.org/jira/browse/NETBEANS-6115 > Project: NetBeans > Issue Type: Bug > Environment: Linux Manjaro > Netbeans 12.5 (but the same problem is in earlier versions too) > Maven 3.8.2 > Java - tried with 8,14,17 > >Reporter: Vladimir Machat >Priority: Major > > Trying to get user input containing 'special characters' like ščřžýáíé > doesn't work in Maven project: > > {code:java} > Scanner sc = new Scanner(System.in, "UTF-8"); > System.out.println("Enter text: "); > String text = sc.nextLine(); > System.out.println("You have entered: " + text); > > {code} > > > In Netbeans this code will fail printing what you entered if you enter > something like 'český, řeka etc...' but works ok with any input not > containing these characters > Same code works in an Ant project without any problems. > It also works on command line by copying and pasting the command from > Netbeans output window (and replacing the double quotes with single quotes). > Example of output: > {code:java} > cd /home/atrament/Nextcloud/Projects/java/InputTestMaven; > JAVA_HOME=/opt/java/jdk-14.0.1+7-hotspot M2_HOME=/opt/maven > /opt/maven/bin/mvn -Dexec.vmArgs= "-Dexec.args=${exec.vmArgs} -classpath > %classpath ${exec.mainClass} ${exec.appArgs}" -Dexec.appArgs= > -Dexec.mainClass=net.atramentovo.inputtestmaven.Main > -Dexec.executable=/opt/java/jdk-14.0.1+7-hotspot/bin/java > -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:3.0.0:exec > Running NetBeans Compile On Save execution. Phase execution is skipped and > output directories of dependency projects (with Compile on Save turned on) > will be used instead of their jar artifacts. > Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.a
[jira] [Updated] (NETBEANS-6115) UTF-8 input is broken in Maven project
[ https://issues.apache.org/jira/browse/NETBEANS-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Machat updated NETBEANS-6115: -- Description: Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {code:java} Scanner sc = new Scanner(System.in, "UTF-8"); System.out.println("Enter text: "); String text = sc.nextLine(); System.out.println("You have entered: " + text); {code} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). Example: {code:java} cd /home/atrament/Nextcloud/Projects/java/InputTestMaven; JAVA_HOME=/opt/java/jdk-14.0.1+7-hotspot M2_HOME=/opt/maven /opt/maven/bin/mvn -Dexec.vmArgs= "-Dexec.args=${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}" -Dexec.appArgs= -Dexec.mainClass=net.atramentovo.inputtestmaven.Main -Dexec.executable=/opt/java/jdk-14.0.1+7-hotspot/bin/java -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:3.0.0:exec Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts. Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Scanning for projects...---< net.atramentovo:InputTestMaven >--- Building InputTestMaven 0.1 [ jar ] exec-maven-plugin:3.0.0:exec (default-cli) @ InputTestMaven --- Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Enter text: Řeka šuměla skalnatým údolím You have entered: Xeka aumla skalnat�m �dol�m BUILD SUCCESS Total time: 2.682 s Finished at: 2021-10-10T19:55:24+01:00 {code} was: Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {code:java} Scanner sc = new Scanner(System.in, "UTF-8"); System.out.println("Enter text: "); String text = sc.nextLine(); System.out.println("You have entered: " + text); {code} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). Example of output: {code:java} cd /home/atrament/Nextcloud/Projects/java/InputTestMaven; JAVA_HOME=/opt/java/jdk-14.0.1+7-hotspot M2_HOME=/opt/maven /opt/maven/bin/mvn -Dexec.vmArgs= "-Dexec.args=${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}" -Dexec.appArgs= -Dexec.mainClass=net.atramentovo.inputtestmaven.Main -Dexec.executable=/opt/java/jdk-14.0.1+7-hotspot/bin/java -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:3.0.0:exec Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts. Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Scanning for projects...---< net.atramentovo:InputTestMaven >--- Building InputTestMaven 0.1 [ jar ] exec-maven-plugin:3.0.0:exec (default-cli) @ InputTestMaven --- Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Enter text: Řeka šuměla skalnatým údolím You have entered: Xeka aumla skalnat�m �dol�m BUILD SUCCESS Total time: 2.682 s Finished at: 2021-10-10T19:55:24+01:00 {code} > UTF-8 input is broken in Maven project > -- > > Key: NETBEANS-6115 > URL: https://issues.apache.org/jira/browse/NETBEANS-6115 > Project: NetBeans > Issue Type: Bug > Environment: Linux Manjaro > Netbeans 12.5 (but the same problem is in earlier versions too) > Maven 3.8.2 > Java - tried with 8,14,17 > >Reporter: Vladimir Machat >
[netbeans] branch master updated: [NETBEANS-6081] - Cleaning enterprise module part 2: (#3229)
This is an automated email from the ASF dual-hosted git repository. pepness 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 3839393 [NETBEANS-6081] - Cleaning enterprise module part 2: (#3229) 3839393 is described below commit 3839393c31b8bcffb8a081db9d180f5bd71c9786 Author: José Contreras AuthorDate: Sun Oct 10 18:42:43 2021 + [NETBEANS-6081] - Cleaning enterprise module part 2: (#3229) - Remove imports from 'java.lang' package - Remove imports from the same package --- .../src/org/netbeans/modules/j2ee/dd/api/common/EjbLocalRef.java | 3 --- .../j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbRef.java| 2 -- .../org/netbeans/modules/j2ee/earproject/model/ApplicationImpl.java| 1 - .../modules/j2ee/ejbcore/api/codegeneration/CallEjbGeneratorTest.java | 1 - .../org/netbeans/modules/j2ee/sun/ide/editors/NameValuePairEditor.java | 1 - .../modules/j2ee/sun/ide/editors/NameValuePairsPropertyEditor.java | 1 - .../src/org/netbeans/modules/j2ee/sun/validation/Validator.java| 2 -- .../modules/j2ee/sun/validation/constraints/BooleanConstraint.java | 1 - .../modules/j2ee/sun/validation/constraints/CardinalConstraint.java| 1 - .../netbeans/modules/j2ee/sun/validation/constraints/InConstraint.java | 1 - .../j2ee/sun/validation/constraints/IntegerGreaterThanConstraint.java | 1 - .../modules/j2ee/sun/validation/constraints/MandatoryConstraint.java | 1 - .../modules/j2ee/sun/validation/constraints/NonBlankConstraint.java| 1 - .../j2ee/sun/validation/constraints/NonZeroLengthConstraint.java | 1 - .../modules/j2ee/sun/validation/constraints/NumberConstraint.java | 1 - .../modules/j2ee/sun/validation/constraints/RangeConstraint.java | 1 - .../j2ee/sun/validation/constraints/ZeroToMaxIntegerConstraint.java| 1 - .../src/org/netbeans/modules/j2ee/sun/validation/util/Display.java | 1 - .../modules/j2ee/deployment/plugins/spi/J2eePlatformFactory.java | 1 - .../netbeans/modules/javaee/wildfly/ide/ui/WildflyPluginUtilsTest.java | 1 - .../modules/maven/j2ee/ui/customizer/impl/CustomizerFrameworks.java| 1 - .../payara/common/ui/ConnectionPoolAdvancedAttributesCustomizer.java | 1 - .../netbeans/modules/payara/jakartaee/db/Hk2DatasourceManagerTest.java | 1 - .../modules/fish/payara/micro/project/MicroActionsProvider.java| 1 - .../org/netbeans/modules/fish/payara/micro/project/ReloadAction.java | 1 - .../src/org/netbeans/modules/payara/tooling/data/StartupArgs.java | 1 - .../org/netbeans/modules/payara/tooling/data/StartupArgsEntity.java| 1 - .../org/netbeans/modules/tomcat5/deploy/TomcatJDBCDriverDeployer.java | 1 - .../src/org/netbeans/modules/tomcat5/deploy/TomcatManagerImpl.java | 1 - .../netbeans/modules/tomcat5/config/TomcatModuleConfigurationTest.java | 1 - .../src/org/netbeans/modules/tomcat5/optional/OptionalFactoryTest.java | 1 - .../org/netbeans/modules/tomcat5/ui/nodes/TomcatTargetNodeTest.java| 1 - .../org/netbeans/modules/tomcat5/ui/wizard/InstallPanelVisualTest.java | 1 - .../src/org/netbeans/modules/web/core/syntax/JSPELPlugin.java | 1 - .../modules/web/core/syntax/deprecated/JspMultiTokenContext.java | 3 --- .../org/netbeans/modules/web/jsf/navigation/PageFlowController.java| 1 - .../modules/web/jsf/navigation/graph/layout/LayoutUtility.java | 1 - .../modules/websvc/manager/util/WebServiceLibReferenceHelper.java | 1 - 38 files changed, 44 deletions(-) diff --git a/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbLocalRef.java b/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbLocalRef.java index eda74e6..8ade1fc 100644 --- a/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbLocalRef.java +++ b/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbLocalRef.java @@ -22,9 +22,6 @@ package org.netbeans.modules.j2ee.dd.api.common; // // This interface has all of the bean info accessor methods. -import org.netbeans.modules.j2ee.dd.api.common.CommonDDBean; -import org.netbeans.modules.j2ee.dd.api.common.DescriptionInterface; - /** * Generated interface for EjbLocalRef element. * diff --git a/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbRef.java b/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbRef.java index a4ddc6a..b47a3d4 100644 --- a/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbRef.java +++ b/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/common/EjbRef.java @@ -22,8 +22,6 @@ package org.netbeans.modules.j2ee.dd.api.common; // // This interface has all of the bean info accessor methods. // -import org.netbeans.modules.j2ee.dd.api.common.CommonDDBean; -import org.netbeans.modules.j2ee.dd.api.common.DescriptionInterface; /** * Generated inte
[jira] [Commented] (NETBEANS-4150) IDE not using Keyring on Debian Buster
[ https://issues.apache.org/jira/browse/NETBEANS-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426827#comment-17426827 ] Glenn Holmer commented on NETBEANS-4150: I'm no longer running Debian Buster (Bullseye has since been released), but on Bullseye I tried some git operations on two machines, one running KDE and one running MATE (GNOME-based). In neither case did I see the "Master Password" dialog. Looks to be fixed. > IDE not using Keyring on Debian Buster > -- > > Key: NETBEANS-4150 > URL: https://issues.apache.org/jira/browse/NETBEANS-4150 > Project: NetBeans > Issue Type: Bug > Components: ide - UI, php - FTP Support, platform - Keyring >Affects Versions: 12.0, 11.2, 11.3 > Environment: Debian Buster 64 bit, tested with: > - XFCE > - Mate > - Gnome classic > - Gnome Xorg > - Gnome >Reporter: Riksoft >Assignee: Premek Vyhnal >Priority: Major > Labels: pull-request-available > Time Spent: 3.5h > Remaining Estimate: 0h > > Netbeans asks for a master password once per session, every time I have to > access something that uses a password. > The reason is that *libgnome-keyring.so* has +been deprecated+. > > It's time to implement the keyring using the new +libsecret+ because > *libgnome-keyring.so* it is OFFICIALLY DEAD and from now on any distro based > on Gnome will have this problem as well. > See here > ??This project is deprecated and has been superseded by libsecret > ([https://gitlab.gnome.org/GNOME/libsecret]).?? > [https://github.com/GNOME/libgnome-keyring] > > here > > [https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=pkg-gnome-maintain...@lists.alioth.debian.org;tag=libgnome-keyring-removal] > > and here > [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941821] > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-website] branch upgrade-to-jackpot-12.5 created (now c32f07c)
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a change to branch upgrade-to-jackpot-12.5 in repository https://gitbox.apache.org/repos/asf/netbeans-website.git. at c32f07c Upgrading the description to use Jackpot 12.5. No new revisions were added by this update. - 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 (7c532ee -> 5303d9f)
This is an automated email from the ASF dual-hosted git repository. bwalker pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 7c532ee [NETBEANS-6118] - Fix test failures in 'j2ee.core' (#3226) add 5303d9f [NETBEANS-6090] - update javac.source to 1.8 from 1.5 (#3217) No new revisions were added by this update. Summary of changes: .../test/qa-functional/data/CSSTestProject/nbproject/project.properties | 2 +- .../test/qa-functional/data/SampleProject/nbproject/project.properties | 2 +- .../test/qa-functional/data/OpenFileProj/nbproject/project.properties | 2 +- .../test/qa-functional/data/JavaApp/nbproject/project.properties| 2 +- java/classfile/closure/nbproject/project.properties | 2 +- .../qa-functional/data/debugTestProject/nbproject/project.properties| 2 +- .../data/SampleDesktopApplication/nbproject/project.properties | 2 +- .../test/qa-functional/data/SampleProject/nbproject/project.properties | 2 +- .../data/projects/ProjectI18n/nbproject/project.properties | 2 +- .../test/unit/data/JavaApp/nbproject/project.properties | 2 +- .../unit/data/projects/JavaApplication1/nbproject/project.properties| 2 +- .../test/qa-functional/data/SampleProject/nbproject/project.properties | 2 +- .../qa-functional/data/JunitTestProject/nbproject/project.properties| 2 +- .../data/PerformanceTestFoldersData/nbproject/project.properties| 2 +- java/performance/benchmarks/nbproject/project.properties| 2 +- java/performance/benchmarks/test/reports/nbproject/project.properties | 2 +- java/performance/cnd/nbproject/project.properties | 2 +- java/performance/enterprise/nbproject/project.properties| 2 +- .../ReservationPartnerServices/nbproject/project.properties | 2 +- java/performance/mobility/nbproject/project.properties | 2 +- .../test/unit/data/SimpleJ2SEApp/nbproject/project.properties | 2 +- .../test/unit/data/projects/tngTestProject/nbproject/project.properties | 2 +- 22 files changed, 22 insertions(+), 22 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