On Mon, 19 Oct 2026 22:53:03 GMT, Serguei Spitsyn <[email protected]> wrote:
>> test/jdk/com/sun/jdi/lib/jdb/Jdb.java line 45:
>>
>>> 43: public Jdb(String... args) {
>>> 44: JDKToolLauncher launcher =
>>> JDKToolLauncher.createUsingTestJDK("jdb")
>>> 45: .addVMArgs(Utils.getTestJavaOpts())
>>
>> The debugger is not tested process.. So jdb doesn't need to be executed with
>> test.java.opts, only with test.vm.opts.
>
> @benshuai5D As I understand, Leonid suggests to remove passing the
> `test.java.opts` to JDB from you fix.
> The debugger is not tested process.. So jdb doesn't need to be executed with
> test.java.opts, only with test.vm.opts.
Thanks very much, Leonid and Serguei.
Updated to forward only `test.vm.opts` using `Utils.getForwardVmOptions()`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33424#discussion_r4327984200