> 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 back screencapture code to paint method ------------- Changes: - all: https://git.openjdk.org/jdk/pull/25279/files - new: https://git.openjdk.org/jdk/pull/25279/files/707ed6df..73861a9c Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=25279&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25279&range=02-03 Stats: 29 lines in 1 file changed: 11 ins; 10 del; 8 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