RFR: JDK-8357082 : Stabilize and add debug logs to CopyAreaOOB.java [v7]

Sergey Bylokhov serb at openjdk.org
Mon Jun 2 20:57:11 UTC 2025


On Mon, 2 Jun 2025 20:53:59 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.
>
> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   unused import

Marked as reviewed by serb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25279#pullrequestreview-2889904297


More information about the client-libs-dev mailing list