RFR: 8351565: Implement JEP 502: Stable Values (Preview)

Alan Bateman alanb at openjdk.org
Thu Mar 13 11:20:15 UTC 2025


On Mon, 10 Mar 2025 18:11:23 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Implement JEP 502.
> 
> The PR passes tier1-tier3 tests.

src/jdk.unsupported/share/classes/sun/misc/Unsafe.java line 983:

> 981: 
> 982:     @ForceInline
> 983:     private static void assertNotTrusted(Field f) {

I don't think this can be named assertXXX, needs to something like ensureNotTrusted.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r1987836045


More information about the core-libs-dev mailing list