[foreign-preview] RFR: 8280596: ScopedMemoryAccess_closeScope: remove exception parameter [v2]

Julia Boes jboes at openjdk.java.net
Fri Feb 4 09:48:03 UTC 2022


On Thu, 3 Feb 2022 16:33:25 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   properly remove parameter in JNI code
>
> src/hotspot/share/prims/scopedMemoryAccess.cpp line 168:
> 
>> 166: 
>> 167: static JNINativeMethod jdk_internal_misc_ScopedMemoryAccess_methods[] = {
>> 168:     {CC "closeScope0",   CC "(" SCOPE ")Z",           FN_PTR(ScopedMemoryAccess_closeScope)},
> 
> Uhmm - it seems like the method declaration for `ScopedMemoryAccess_closeScope` still has a trailing exception object (further down in this file)

Oops, thanks for spotting. That's removed now.

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

PR: https://git.openjdk.java.net/panama-foreign/pull/637


More information about the panama-dev mailing list