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

Harshitha Onkar honkar at openjdk.org
Mon Jun 2 19:16:43 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:

  frame dispose

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25279/files
  - new: https://git.openjdk.org/jdk/pull/25279/files/e9c5b3ac..7c288c91

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

  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 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