Integrated: JDK-8357082 : Stabilize and add debug logs to CopyAreaOOB.java

Harshitha Onkar honkar at openjdk.org
Mon Jun 2 21:54:58 UTC 2025


On Sat, 17 May 2025 00:03:23 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> CopyAreaOOB.java was failing intermittently on some platforms on CI but recently it started to fail more frequently on macos-aarch64 when the entire test suite runs.
> 
> Test failure is not reproducible when the test is run individually (multiple times) on CI.
> 
> Rewritten the test and added debug logs that will be helpful to figure out the issue. 
> 
> - Added code to capture screenshot (entire screen as well as the frame) in case of failure.
> - Since it tests multiple regions added a StringBuffer to consolidate the error logs before throwing RuntimeException.

This pull request has now been integrated.

Changeset: e490b4f0
Author:    Harshitha Onkar <honkar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e490b4f04dd094db996cdc4f664c2ed1a7ea2ade
Stats:     113 lines in 2 files changed: 63 ins; 10 del; 40 mod

8357082: Stabilize and add debug logs to CopyAreaOOB.java

Reviewed-by: serb

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

PR: https://git.openjdk.org/jdk/pull/25279


More information about the client-libs-dev mailing list