On Thu, 21 Nov 2024 10:29:32 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:

> While at it, should there be additional guards to prevent applications from 
> changing the value of this system property by doing 
> `System.setProperty("jdk.patched")` at runtime?

The updated patch has a test for this. In a nutshell any JDK property can be 
changed in code (also `jdk.module.patch.0` if desired). So this would be no 
different. The javadoc warns about unintended consequences of setting JDK 
properties that way.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22277#discussion_r1854284294

Reply via email to