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

Timofei Pushkin tpushkin at openjdk.org
Tue Oct 21 14:42:27 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)

This pull request has now been integrated.

Changeset: fd23a934
Author:    Timofei Pushkin <tpushkin at openjdk.org>
Committer: Alexey Bakhtin <abakhtin at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/fd23a93481a813f2ba1c634cec209dddcb4ab078
Stats:     224 lines in 24 files changed: 26 ins; 98 del; 100 mod

8274893: Update java.desktop classes to use try-with-resources

Reviewed-by: abakhtin
Backport-of: 70c6df6be431fe11c5441986ed04040f9ec3b750

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

PR: https://git.openjdk.org/jdk11u-dev/pull/3082


More information about the jdk-updates-dev mailing list