Please review this PR which suggests to modernize the JVM arguments used to 
enable debugging in the netbeans project files for demos. 

The netbeans projects found in src/demo/share/nbproject currently use the 
following outdated combination of jvm arguments to set up debugging:


<jvmarg value="-Xdebug"/>
<jvmarg value="-Xnoagent"/>
<jvmarg value="-Djava.compiler=none"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>


They should instead just do:


<jvmarg 
value="-agentlib:jdwp=transport=dt_socket,server=n,suspend=n,address=${jpda.address}"/>


Additionally, the source dir set up in build.properties for these projects do 
not seem to align with the source layout.

`src.dir=${main.dir}/src` should instead be just `src.dir=${main.dir}/`

-------------

Commit messages:
 - Modernize debugging jvm args in Netbeans project files

Changes: https://git.openjdk.org/jdk/pull/13101/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13101&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304503
  Stats: 42 lines in 14 files changed: 0 ins; 21 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/13101.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/13101/head:pull/13101

PR: https://git.openjdk.org/jdk/pull/13101

Reply via email to