Please review this small test fix. 

`lib.jdb.Jdb` does not pass `test.vm.opts` or `test.java.opts` to the jdb JVM

**Fix:** Use `JDKToolLauncher` to pass both sets of options to jdb

**Testing:**

- [x] Added coverage in `JdbOptions.java`
- [x] `com/sun/jdi`: 191 passed, 1 excluded



---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8282988: nsk/jdb and com/sun/jdi tests do not run jdb or debuggee with 
specified JVM args

Changes: https://git.openjdk.org/jdk/pull/33424/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33424&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8282988
  Stats: 18 lines in 2 files changed: 12 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/33424.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33424/head:pull/33424

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

Reply via email to