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

Harshitha Onkar honkar at openjdk.org
Thu May 29 00:22:13 UTC 2025


> 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:

  test update: Mouse move to off frame loc

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25279/files
  - new: https://git.openjdk.org/jdk/pull/25279/files/ee307064..8cc8fa24

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25279&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25279&range=00-01

  Stats: 32 lines in 1 file changed: 20 ins; 1 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/25279.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25279/head:pull/25279

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


More information about the client-libs-dev mailing list