[foreign-memaccess+abi] RFR: 8263459: Add better support for restricted methods [v3]
Athijegannathan Sundararajan
sundar at openjdk.java.net
Tue Mar 23 09:42:50 UTC 2021
On Mon, 22 Mar 2021 13:48:54 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> based on code review:
>> Modules::enable_native_access_all_unnamed does not need TRAPS.
>> check_restricted_method call in LinkResolver should be outside loader constraints check.
>
> make/Images.gmk line 81:
>
>> 79: --order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
>> 80: --dedup-legal-notices=error-if-not-same-content \
>> 81: $(JLINK_RESTRICTED_NATIVE) \
>
> How does this impact jlink usage outside of the JDK?
The native methods text goes as "conf" file of jlink tool. That plugin is always on (and loads conf file). Only during jdk build we need to pass the location of the the native methods text file as an argument.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/471
More information about the panama-dev
mailing list