RFR: 8344560: Add system property for patched runtime [v3]

Severin Gehwolf sgehwolf at openjdk.org
Tue Nov 26 19:32:46 UTC 2024


On Tue, 26 Nov 2024 18:14:29 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> For jlink to detect if the current runtime is patched, have you tried `ModuleBootstrap.patcher().hasPatches()` which I think it's an alternative to avoid introducing this system property.

I'm considering to drop this PR and filter resources coming from a module patch on the jlink side. This should avoid the need to special case it. Thanks for the feedback, all!

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

PR Comment: https://git.openjdk.org/jdk/pull/22277#issuecomment-2501760789


More information about the core-libs-dev mailing list