RFR: 8343839: Detect patched modules and abort run-time image link early
Severin Gehwolf
sgehwolf at openjdk.org
Tue Nov 12 14:38:22 UTC 2024
On Tue, 12 Nov 2024 14:29:08 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>>> Instead, I think we should look at adding a property such as jdk.patched
>>
>> You mean a new standard property - observable with `System.getProperty("jdk.patched")` as well - which would also show up with `java -XshowSettings:properties`? Is that the direction you are envisioning?
>
> Yes, I'm wondering if a JDK-specific (rather than standard) property could be more widely useful as it would allow observability tools to know that the JDK has been patched. It would be good to get wider input on this.
OK, thanks. I'll start a thread on core-libs-dev about this.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22037#discussion_r1838212838
More information about the core-libs-dev
mailing list