[lworld] Integrated: 8331217: [lworld] sun.misc.Unsafe should fail to get the offset of a field of value type
Mandy Chung
mchung at openjdk.org
Mon Apr 29 18:05:32 UTC 2024
On Fri, 26 Apr 2024 23:33:14 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 9ecd7cee
Author: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/9ecd7cee4aac2b560016c9766df35e3fca3fc8c1
Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
8331217: [lworld] sun.misc.Unsafe should fail to get the offset of a field of value type
-------------
PR: https://git.openjdk.org/valhalla/pull/1086
More information about the valhalla-dev
mailing list