You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by mb...@apache.org on 2023/11/28 22:23:25 UTC
(netbeans) branch master updated: Remove usages of the -Xdebug option.
This is an automated email from the ASF dual-hosted git repository.
mbien 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 38865a9bf9 Remove usages of the -Xdebug option.
new cf10f718f8 Merge pull request #6722 from mbien/remove-xdebug
38865a9bf9 is described below
commit 38865a9bf9c222b11edd68ecacb888672e40538b
Author: Michael Bien <mb...@gmail.com>
AuthorDate: Sat Nov 18 11:28:19 2023 +0100
Remove usages of the -Xdebug option.
Option is a no-op since Java 8 and deprecated for removal, see
JDK-8312151.
I didn't touch build-impl.xml files or any code which scans jvm flags
for its occurrence.
---
.../modules/fish/payara/micro/project/resources/action-mapping.xml | 4 ++--
java/java.lsp.server/vscode/src/nbcode.ts | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/project/resources/action-mapping.xml b/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/project/resources/action-mapping.xml
index 44245d653c..b45a3abc48 100644
--- a/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/project/resources/action-mapping.xml
+++ b/enterprise/payara.micro/src/org/netbeans/modules/fish/payara/micro/project/resources/action-mapping.xml
@@ -66,7 +66,7 @@
<goal>payara-micro:start</goal>
</goals>
<properties>
- <exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</exec.args>
+ <exec.args>-Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</exec.args>
<jpda.listen>true</jpda.listen>
<netbeans.deploy.debugmode>true</netbeans.deploy.debugmode>
<netbeans.deploy>false</netbeans.deploy>
@@ -85,7 +85,7 @@
<goal>payara-micro:start</goal>
</goals>
<properties>
- <exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</exec.args>
+ <exec.args>-Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</exec.args>
<jpda.listen>true</jpda.listen>
<netbeans.deploy.clientUrlPart>${webpagePath}</netbeans.deploy.clientUrlPart>
<netbeans.deploy.debugmode>true</netbeans.deploy.debugmode>
diff --git a/java/java.lsp.server/vscode/src/nbcode.ts b/java/java.lsp.server/vscode/src/nbcode.ts
index 468cc7c446..f9e9b20a4c 100644
--- a/java/java.lsp.server/vscode/src/nbcode.ts
+++ b/java/java.lsp.server/vscode/src/nbcode.ts
@@ -76,7 +76,7 @@ export function launch(
ideArgs.push(...extraArgs);
if (env['netbeans_debug'] && extraArgs && extraArgs.find(s => s.includes("--list"))) {
- ideArgs.push(...['-J-Xdebug', '-J-Dnetbeans.logger.console=true', '-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000']);
+ ideArgs.push(...['-J-Dnetbeans.logger.console=true', '-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000']);
}
console.log(`Launching NBLS with arguments: ` + ideArgs);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists