[lworld] RFR: 8287692: Move Class primitive APIs to jdk.internal.value.PrimitiveClass [v2]
Mandy Chung
mchung at openjdk.org
Mon Sep 12 18:40:20 UTC 2022
On Mon, 12 Sep 2022 15:53:52 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Move Class primitive APIs to jdk.internal.value.PrimitiveClass.
>>
>> Update hotspot tests to use PrimitiveClass instead of Class.xxx methods.
>> Add imports of jdk.internal.value.PrimitiveClass
>> Add --add-exports java.base/jdk.internal.value=ALL-UNNAMED
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Cleanup based on review comments.
src/jdk.unsupported/share/classes/sun/misc/Unsafe.java line 655:
> 653: }
> 654: if (PrimitiveClass.isPrimitiveClass(f.getDeclaringClass())) {
> 655: throw new UnsupportedOperationException("can't get field offset on an inline class: " + f);
since you are in this file, can you update the error message `s/inline class/primitive class/`
-------------
PR: https://git.openjdk.org/valhalla/pull/752
More information about the valhalla-dev
mailing list