[jdk25u-dev] Integrated: 8371364: Refactor javax/swing/JFileChooser/FileSizeCheck.java to use Util.findComponent()

Roland Mesde duke at openjdk.org
Mon Feb 23 18:03:00 UTC 2026


On Thu, 19 Feb 2026 19:26:10 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8371364: Refactor javax/swing/JFileChooser/FileSizeCheck.java to use Util.findComponent().
> 
> This PR refactors FileSizeCheck.java to use the shared Util.findComponent() method instead of its own duplicate implementation.
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/jdk/javax/swing/JFileChooser/FileSizeCheck.java
> 
> Results attached (should only run on linux):
> 
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25448122/linux-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25448123/macos-aarch64-specific-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25448124/windows-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25448125/linux-aarch64-specific-test.log)

This pull request has now been integrated.

Changeset: 137677de
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/137677de585a664cb6493f4c68541dd693c19917
Stats:     23 lines in 1 file changed: 2 ins; 17 del; 4 mod

8371364: Refactor javax/swing/JFileChooser/FileSizeCheck.java to use Util.findComponent()

Backport-of: 9bc23608fb5719c3e977b5839efed5bc3f64a268

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

PR: https://git.openjdk.org/jdk25u-dev/pull/295


More information about the jdk-updates-dev mailing list