[lworld] RFR: 8331217: [lworld] sun.misc.Unsafe should fail to get the offset of a field of value type
Mandy Chung
mchung at openjdk.org
Fri Apr 26 23:39:41 UTC 2024
Memory-access methods in `sun.misc.Unsafe` are proposed to be deprecated for removal [1]. `staticFieldOffset`, `staticFieldBase` and `staticFieldOffset` should throw UOE if the given field is of value type.
[1] https://openjdk.org/jeps/8323072
-------------
Commit messages:
- 8331217: [lworld] sun.misc.Unsafe should fail to get the offset of a field of value type
Changes: https://git.openjdk.org/valhalla/pull/1086/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1086&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8331217
Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/valhalla/pull/1086.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1086/head:pull/1086
PR: https://git.openjdk.org/valhalla/pull/1086
More information about the valhalla-dev
mailing list