-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8265019 : Update tests for additional TestNG test permissions #3471
Conversation
👋 Welcome back lancea! A progress list of the required criteria for merging this PR into |
@LanceAndersen The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
permissions.add(new PropertyPermission("testng.mode.dryrun", "read")); | ||
permissions.add(new PropertyPermission("testng.report.xml.name", "read")); | ||
permissions.add(new ReflectPermission("suppressAccessChecks")); | ||
permissions.add(new PropertyPermission("testng.timezone", "read")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be better to group the testng.* properties so they aren't mixed up with the other runtime permissions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
@LanceAndersen 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 10 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 |
import java.security.ProtectionDomain; | ||
import java.security.SecurityPermission; | ||
import java.lang.reflect.ReflectPermission; | ||
import java.security.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess is that you didn't mean the change the import.
Mailing list message from Lance Andersen on core-libs-dev: On Apr 14, 2021, at 2:13 AM, Alan Bateman <alanb at openjdk.java.net<mailto:alanb at openjdk.java.net>> wrote: On Tue, 13 Apr 2021 18:56:22 GMT, Lance Andersen <lancea at openjdk.org<mailto:lancea at openjdk.org>> wrote: Hi all, Please review the following patch which adds additional permissions needed for when JTREG upgrades to a newer version of TestNG. Best, Lance Andersen has updated the pull request incrementally with one additional commit since the last revision: TestNG updates Permission re-organization Marked as reviewed by alanb (Reviewer). test/jdk/java/sql/testng/util/TestPolicy.java line 27: 25: import java.io.FilePermission; My guess is that you didn't mean the change the import. Intellij did that automagically. I just reverted the change for consistency ------------- PR: https://git.openjdk.java.net/jdk/pull/3471 [cid:E1C4E2F0-ECD0-4C9D-ADB4-B16CA7BCB7FC at home] Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 |
/integrate |
@LanceAndersen Since your change was applied there have been 15 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit ffb3771. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
Please review the following patch which adds additional permissions needed for when JTREG upgrades to a newer version of TestNG.
Best,
Lance
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3471/head:pull/3471
$ git checkout pull/3471
Update a local copy of the PR:
$ git checkout pull/3471
$ git pull https://git.openjdk.java.net/jdk pull/3471/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3471
View PR using the GUI difftool:
$ git pr show -t 3471
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3471.diff