RFR: 8361300: Document exceptions for Unsafe offset methods [v6]

Chen Liang liach at openjdk.org
Fri Aug 1 16:29:04 UTC 2025


On Fri, 1 Aug 2025 09:11:07 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Less specific reasons for IAE
>
> test/jdk/jdk/internal/misc/Unsafe/AddressComputationContractTest.java line 64:
> 
>> 62: 
>> 63:     @Test
>> 64:     void fastObjectFieldOffset() {
> 
> Nit: You may want to match the corresponding impl. method name, as you did in other test methods:
> 
> Suggestion:
> 
>     void knownObjectFieldOffset() {

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25945#discussion_r2248387724


More information about the core-libs-dev mailing list