[foreign-memaccess+abi] RFR: 8263459: Add better support for restricted methods [v5]

Athijegannathan Sundararajan sundar at openjdk.java.net
Mon Mar 29 13:14:02 UTC 2021


On Mon, 29 Mar 2021 11:47:03 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   removed unused import in Constructor.java
>
> src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/MemoryAddressImpl.java line 101:
> 
>> 99:     @Override
>> 100:     @CallerSensitive
>> 101:     @NativeAccess
> 
> I don't think we need @NativeAccess here - this is not an API method

removed. Added @NativeAccess for an API method (missing earlier)

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

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


More information about the panama-dev mailing list