7904172: JTReg should add --enable-native-access=ALL-UNNAMED in /native actions#319
7904172: JTReg should add --enable-native-access=ALL-UNNAMED in /native actions#319sormuras wants to merge 6 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back cstein! A progress list of the required criteria for merging this PR into |
|
@sormuras This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
|
Running Ah, Module#isNativeAccessEnabled() was added in Java 22. And |
lmesnik
left a comment
There was a problem hiding this comment.
I think that fix looks good and useful.
irisclark
left a comment
There was a problem hiding this comment.
Are planning to eventually provide support for explicitly named modules (i.e. --enable-native-access module[,module...], see java mapage)?
You might want to call out this /native option in the Tag Specification?
|
Thanks for all the reviews and the approval, Iris!
No, not yet. You may continue to do so via an explicit listing in the (VM) options arguments. Hence the "seenEnableNativeAccess" logic in this PR.
Right. Will add it to the spec (and FAQ). |
Please review this change adding
--enable-native-access=ALL-UNNAMEDto the list of Java test runtime command-line arguments for actions with/nativeoption -- unless there is one or more explicit custom--enable-native-accessarguments present.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jtreg.git pull/319/head:pull/319$ git checkout pull/319Update a local copy of the PR:
$ git checkout pull/319$ git pull https://git.openjdk.org/jtreg.git pull/319/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 319View PR using the GUI difftool:
$ git pr show -t 319Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jtreg/pull/319.diff
Using Webrev
Link to Webrev Comment