RFR: 8282691: add jdb support for passing --enable-preview and --add-modules to the debuggee JVM

Chris Plummer cjplummer at openjdk.java.net
Sun Mar 6 03:03:59 UTC 2022


On Sat, 5 Mar 2022 09:42:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> jshell uses -R to pass arguments through to the "remote" runtime (it's a debugger). I wonder if there is merit in doing something similar here so that jdb doesn't have to special case specific options.

I didn't know about jshell, but I was wondering if maybe jdb should have some other prefix to use to pass args on to the debuggee. For backwards compatibility, it would have to continue to support special casing the args that it currently special cases. Maybe we push through this PR as-is to resolve this specific issue for loom and file a separate RFE to add -R support.

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

PR: https://git.openjdk.java.net/jdk/pull/7708


More information about the serviceability-dev mailing list