[foreign-memaccess+abi] RFR: 8310659: The jar tool should support allowing access to restricted methods from executable jars [v9]
Jorn Vernee
jvernee at openjdk.org
Wed Jun 28 16:06:35 UTC 2023
> 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.
Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
review comment
-------------
Changes:
- all: https://git.openjdk.org/panama-foreign/pull/843/files
- new: https://git.openjdk.org/panama-foreign/pull/843/files/387205af..0ced62e5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=843&range=08
- incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=843&range=07-08
Stats: 3 lines in 2 files changed: 2 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/panama-foreign/pull/843.diff
Fetch: git fetch https://git.openjdk.org/panama-foreign.git pull/843/head:pull/843
PR: https://git.openjdk.org/panama-foreign/pull/843
More information about the panama-dev
mailing list