On Fri, 12 Jun 2026 13:06:53 GMT, Matthias Baesken <[email protected]> wrote:
>> When building a headless JDK on Linux (configure option >> `--enable-headless-only`) there is still the tool bin/jconsole in the >> resulting JDK image. >> However the tool seems not to work, so probably it could be removed. >> Also the jdk.jconsole classes can be found in the lib/modules file (probably >> they are not very useful in a headless jdk). >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Matthias Baesken has updated the pull request incrementally with one > additional commit since the last revision: > > Just remove the jconsole launcher, keep the jmod and classes Looks good thanks. I couldn't think of any testing that will fail. A quick look in the test dir shows a few references to the jconsole class/module so yes this way looks good. ------------- Marked as reviewed by kevinw (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/31499#pullrequestreview-4485910070
