RFR: 8353835: Implement JEP 500: Prepare to Make Final Mean Final [v10]
Alan Bateman
alanb at openjdk.org
Tue Nov 11 17:48:45 UTC 2025
On Tue, 11 Nov 2025 15:01:14 GMT, Chen Liang <liach at openjdk.org> wrote:
> we have plenty of time to restrict 2 and 3 together in future releases.
There isn't any proposal to change JNI. It has never done any access checking. The only change is to -Xcheck:jni warning and logging to catch JNI code that is mutating finals. Once we dial up to have mutating finals be denied by default then we might dial up -Xcheck:jni at the same time to make it fatal.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25115#issuecomment-3518048959
More information about the core-libs-dev
mailing list