[foreign-memaccess+abi] Integrated: 8310659: The jar tool should support allowing access to restricted methods from executable jars
Jorn Vernee
jvernee at openjdk.org
Wed Jun 28 16:06:40 UTC 2023
On Mon, 26 Jun 2023 16:44:01 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> Add `Enable-Native-Access` jar attribute. `Enable-Native-Access: true` is equal to passing `--enable-native-access=ALL-UNNAMED` on the command line when running an executable jar (using `-jar <jar file>`).
>
> Question: right now I've implemented this to check if the attribute value is exactly `true`, otherwise it is ignored. Should we only allow `true` or `false`, and throw an error on other values?
>
> Reviewer note: I've factored some of a test code for analyzing output to `TestEnableNativeAccessBase` for the enable native access tests.
This pull request has now been integrated.
Changeset: 35667439
Author: Jorn Vernee <jvernee at openjdk.org>
URL: https://git.openjdk.org/panama-foreign/commit/356674398e194f9a8fee75c9a53105f2c8ae41ba
Stats: 491 lines in 11 files changed: 287 ins; 198 del; 6 mod
8310659: The jar tool should support allowing access to restricted methods from executable jars
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.org/panama-foreign/pull/843
More information about the panama-dev
mailing list