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

Sergey Bylokhov serb at openjdk.org
Mon Jan 26 21:46:19 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.

The follow-up ticket [JDK-8376412](https://bugs.openjdk.org/browse/JDK-8376412) has been filed.

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

PR Comment: https://git.openjdk.org/jdk/pull/29395#issuecomment-3801900654


More information about the client-libs-dev mailing list