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

Harshitha Onkar honkar at openjdk.org
Fri May 30 20:40:52 UTC 2025


On Fri, 30 May 2025 00:40:11 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:
> 
>   added testRegion back to paint()

@mrserb @aivanov-jdk  Can you please re-review when you get a chance?
This issue fix is targeted for jdk-25 and I was planning on integrating it on Monday if the updated test looks good.

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

PR Comment: https://git.openjdk.org/jdk/pull/25279#issuecomment-2923434327


More information about the client-libs-dev mailing list