-
Notifications
You must be signed in to change notification settings - Fork 253
8274893: Update java.desktop classes to use try-with-resources #3082
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
Conversation
Reviewed-by: phh Backport-of: 6b55ef3
Backport-of: 70c6df6be431fe11c5441986ed04040f9ec3b750
|
👋 Welcome back tpushkin! A progress list of the required criteria for merging this PR into |
|
@TimPushkin 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 4 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. 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 (@alexeybakhtin) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
alexeybakhtin
left a comment
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 to me
|
/approval request Backporting for parity with Oracle and to make a dependent in-progress backport cleaner. |
|
@TimPushkin |
|
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout 8274893-jdk11
git fetch https://git.openjdk.org/jdk11u-dev.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
@TimPushkin Please fix the merge conflict and merge master. Thanks! |
Backport-of: 70c6df6be431fe11c5441986ed04040f9ec3b750
|
Hi @TimPushkin |
|
@sercher Hi, the description is based on JDK-8348382 — a backport of JDK-8274893 with fix version 11.0.27-oracle |
|
@TimPushkin Ouch, you are correct. Apologies, I was looking at the wrong issue. |
|
/integrate |
|
@TimPushkin |
|
/sponsor |
|
Going to push as commit fd23a93.
Your commit was automatically rebased without conflicts. |
|
@alexeybakhtin @TimPushkin Pushed as commit fd23a93. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Backport of JDK-8274893 from JDK 17, for parity with Oracle 11.0.27.
The only conflict was trivial: in imports of
JEditorPanewhich uses * imports in this release, so no change was needed.Testing: GitHub CI,
jdk_imageiotest group locally (mac/arm64)Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3082/head:pull/3082$ git checkout pull/3082Update a local copy of the PR:
$ git checkout pull/3082$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3082/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3082View PR using the GUI difftool:
$ git pr show -t 3082Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3082.diff
Using Webrev
Link to Webrev Comment