Withdrawn: 8344560: Add system property for patched runtime
Severin Gehwolf
sgehwolf at openjdk.org
Wed Nov 27 19:55:47 UTC 2024
On Wed, 20 Nov 2024 14:26:27 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this simple patch which adds a new external system property `jdk.patched` when the runtime has been patched with the `--patch-module` switch. This is useful for two reasons: 1) it allows one to determine at run-time whether or not `--patch-module` has been used (by querying the said property) 2) allows tools, such as `jlink` doing the same without needing to expose internal properties the JVM sets on initialization.
>
> Testing:
>
> - [x] GHA (includes new test)
> - [x] New jtreg test
>
> Thoughts?
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/22277
More information about the core-libs-dev
mailing list