-
Notifications
You must be signed in to change notification settings - Fork 5
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
8285497: Add system property for Java SE specification maintenance version #5
8285497: Add system property for Java SE specification maintenance version #5
Conversation
👋 Welcome back jlu! A progress list of the required criteria for merging this PR into |
Webrevs
|
This backport pull request has now been updated with issue from the original commit. |
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 and in line with the previous PR in this area
@justin-curtis-lu This change now passes all automated pre-integration checks. 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 6 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 As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@LanceAndersen, @jddarcy, @naotoj, @irisclark, @RealCLanger) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
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.
If backported change is the same from a previous year and is made unchanged, the copyright year should match the year the original change was authored. Otherwise, looks fine.
@@ -608,6 +608,9 @@ public Void run() { | |||
pe.add(new PropertyPermission | |||
("java.specification.version", | |||
SecurityConstants.PROPERTY_READ_ACTION)); | |||
pe.add(new PropertyPermission | |||
("java.specification.maintenance.version", |
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.
the indentation is not in sync with the lines above and below, maybe you could fix this.
@@ -30,6 +30,8 @@ grant { | |||
permission java.util.PropertyPermission "line.separator", "read"; | |||
permission java.util.PropertyPermission | |||
"java.specification.version", "read"; | |||
permission java.util.PropertyPermission | |||
"java.specification.maintenance.version", "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.
Same here, indentation could be fixed so as to be in sync with line 32.
@@ -206,6 +206,8 @@ Java_java_lang_System_initProperties(JNIEnv *env, jclass cla, jobject props) | |||
|
|||
PUTPROP(props, "java.specification.version", | |||
VERSION_SPECIFICATION); | |||
PUTPROP(props, "java.specification.maintenance.version", | |||
"2"); |
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.
Same here, please check rows above and below.
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.
Thank you for catching that, fixed the indentation for this and your previous comments.
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.
Great, thanks for updating. Looks nice now. 😄
/integrate |
@justin-curtis-lu |
/sponsor |
Going to push as commit e5ac7a1.
Your commit was automatically rebased without conflicts. |
@naotoj @justin-curtis-lu Pushed as commit e5ac7a1. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This PR adds the system property: java.specification.maintenance.version with a value of 2. This change is done towards the Reference Implementation of the proposed Java SE 11 Maintenance Release 2 (https://mail.openjdk.org/pipermail/jdk8u-dev/2023-February/016710.html).
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-ri pull/5/head:pull/5
$ git checkout pull/5
Update a local copy of the PR:
$ git checkout pull/5
$ git pull https://git.openjdk.org/jdk11u-ri pull/5/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 5
View PR using the GUI difftool:
$ git pr show -t 5
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-ri/pull/5.diff