Mercurial > hg > shenandoah-preopenjdk-archive > openjdk8 > jdk
changeset 9280:35551407b0a5
8031422: [TEST_BUG] java/awt/Paint/bug8024864.java fails on Windows 7
Reviewed-by: pchelko, azvegint
author | kshefov |
---|---|
date | Tue, 25 Mar 2014 18:23:59 +0400 |
parents | 6cf2115d1b91 |
children | 7a4c6b13e21d |
files | test/java/awt/Paint/bug8024864.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test/java/awt/Paint/bug8024864.java Wed Mar 12 21:45:20 2014 +0400 +++ b/test/java/awt/Paint/bug8024864.java Tue Mar 25 18:23:59 2014 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -22,7 +22,7 @@ */ /* @test - * @bug 8024864 + * @bug 8024864 8031422 * @summary [macosx] Problems with rendering of controls * @author Petr Pchelko * @library ../regtesthelpers @@ -65,7 +65,7 @@ Util.waitForIdle(r); Dimension frameSize = frame.getSize(); - Point loc = new Point(frameSize.width - 5, frameSize.height - 5); + Point loc = new Point(frameSize.width - 15, frameSize.height - 15); SwingUtilities.convertPointToScreen(loc, frame); Color c = r.getPixelColor(loc.x, loc.y);