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

duke duke at openjdk.org
Mon Feb 23 16:57:36 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)

@rm-gh-8 
Your change (at version 684a2e34ea74688502449bb27f145511bfcf4bc2) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/295#issuecomment-3945989329


More information about the jdk-updates-dev mailing list