RFR: 8376151: Test javax/swing/JFileChooser/4966171/bug4966171.java is failing with OOME

Alexey Ivanov aivanov at openjdk.org
Mon Jan 26 21:11:46 UTC 2026


On Fri, 23 Jan 2026 21:56:06 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

> This failing test has been untouched for years and has recently started failing with OOME. In addition, the test is failing pretty frequently and causing a lot of noise. It failed on multiple different machines as well. 
> 
> There seems to be a lot of byte arrays that looks like is causing the issue. To increase stability, I have gone ahead and reduced the `endTime` duration from 10 seconds to 5 seconds, which should be enough.
> 
> I have run the test on all OS's with 100 repeats after the changes and the test passed on all runs.

Phil's explanation is reasonable, I agree to reduce the running time of the test to avoid “false” failures.

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

Marked as reviewed by aivanov (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29395#pullrequestreview-3708010467


More information about the client-libs-dev mailing list