Skip to content

Log JDK boot modules on startup.#8059

Merged
mbien merged 1 commit intoapache:masterfrom
mbien:startup-log-jdk-mods
Dec 18, 2024
Merged

Log JDK boot modules on startup.#8059
mbien merged 1 commit intoapache:masterfrom
mbien:startup-log-jdk-mods

Conversation

@mbien
Copy link
Member

@mbien mbien commented Dec 15, 2024

could be useful while inspecting user logs (e.g #8026) since it would identify headless JDKs or JREs with non-standard module lists.

...
  Java Boot Modules       = [java.base, java.compiler, java.datatransfer, java.desktop, java.instrument, java.logging, java.management, java.management.rmi, java.naming, java.net.http, java.prefs, java.rmi, java.scripting, java.security.jgss, java.security.sasl, java.smartcardio, java.sql, java.sql.rowset, java.transaction.xa, java.xml, java.xml.crypto, jdk.accessibility, jdk.attach, jdk.charsets, jdk.compiler, jdk.crypto.cryptoki, jdk.dynalink, jdk.editpad, jdk.httpserver, jdk.internal.ed, jdk.internal.jvmstat, jdk.internal.le, jdk.internal.md, jdk.internal.opt, jdk.jartool, jdk.javadoc, jdk.jconsole, jdk.jdeps, jdk.jdi, jdk.jdwp.agent, jdk.jfr, jdk.jlink, jdk.jpackage, jdk.jshell, jdk.jsobject, jdk.jstatd, jdk.localedata, jdk.management, jdk.management.agent, jdk.management.jfr, jdk.naming.dns, jdk.naming.rmi, jdk.net, jdk.nio.mapmode, jdk.sctp, jdk.security.auth, jdk.security.jgss, jdk.unsupported, jdk.unsupported.desktop, jdk.xml.dom, jdk.zipfs]
...

@mbien mbien added the Platform [ci] enable platform tests (platform/*) label Dec 15, 2024
@mbien mbien added this to the NB25 milestone Dec 15, 2024
@mbien mbien requested a review from neilcsmith-net December 15, 2024 20:41
@matthiasblaesing
Copy link
Contributor

Apart from the small suggestion, this makes sense to me.

could be useful while inspecting user logs since it would identify
headless JDKs or JREs with non-standard module lists.
@mbien mbien force-pushed the startup-log-jdk-mods branch from 75c335f to d68c385 Compare December 16, 2024 17:08
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@mbien mbien merged commit 70f6941 into apache:master Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform [ci] enable platform tests (platform/*)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments