Integrated: 7001973: java/awt/Graphics2D/CopyAreaOOB.java fails

Masanori Yano myano at openjdk.java.net
Sat Jan 15 02:21:31 UTC 2022


On Mon, 13 Sep 2021 11:32:37 GMT, Masanori Yano <myano at openjdk.org> wrote:

> Could you please review the 7001973 fixes?
> 
> On Windows, CopyAreaOOB.java fails with a blank window. The cause of this problem is that paint() works one time only. Painting area is not guaranteed when showing a window.
> 
> I think this behavior should be removed for purpose of this test (`@summary: Verifies that copyArea() works properly`). Also, this program uses a Robot, but implements waiting logic by itself. This logic should be replaced to Robot API.
> 
> This fix works fine in Windows, so this test can be removed from ProblemList.txt. I don't have a Mac environment, so can someone please confirm that this fix will work on Mac?

This pull request has now been integrated.

Changeset: 22b7295e
Author:    Masanori Yano <myano at openjdk.org>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/22b7295e75d3bc7ba2c2cd7b871bb2bb5bf290eb
Stats:     59 lines in 2 files changed: 13 ins; 38 del; 8 mod

7001973: java/awt/Graphics2D/CopyAreaOOB.java fails

Reviewed-by: serb

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

PR: https://git.openjdk.java.net/jdk/pull/5491



More information about the client-libs-dev mailing list