[jdk11u-dev] RFR: 8274893: Update java.desktop classes to use try-with-resources

Alexey Bakhtin abakhtin at openjdk.org
Fri Aug 29 16:45:56 UTC 2025


On Thu, 28 Aug 2025 14:29:22 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:

> Backport of [JDK-8274893](https://bugs.openjdk.org/browse/JDK-8274893) from JDK 17, for parity with Oracle 11.0.27.
> 
> The only conflict was trivial: in imports of `JEditorPane` which uses * imports in this release, so no change was needed.
> 
> Testing: GitHub CI, `jdk_imageio` test group locally (mac/arm64)

Looks good to me

-------------

Marked as reviewed by abakhtin (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/3082#pullrequestreview-3169396845


More information about the jdk-updates-dev mailing list