On Sun, 5 Oct 2025 13:49:53 GMT, Alan Bateman <[email protected]> wrote:

> I think what you are suggesting is that the JEP could instead have 
> -Xcheck:jni emit a warning when JNI setter functions mutate final fields, and 
> maybe change it to be a fatal error in the future, maybe as part of the 
> future JEP that proposes to move "deny" the default.

@AlanBateman yes that is exactly what I am suggesting. Thanks

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

PR Comment: https://git.openjdk.org/jdk/pull/25115#issuecomment-3374751322

Reply via email to