equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
27 import static sun.awt.OSInfo.*; |
27 import static sun.awt.OSInfo.*; |
28 |
28 |
29 /** |
29 /** |
30 * @test |
30 * @test |
31 * @key headful |
31 * @key headful |
32 * @bug 8069348 |
32 * @bug 8069348 8198613 |
33 * @summary SunGraphics2D.copyArea() does not properly work for scaled graphics |
33 * @summary SunGraphics2D.copyArea() does not properly work for scaled graphics |
34 * @modules java.desktop/sun.awt |
34 * @modules java.desktop/sun.awt |
35 * @run main/othervm -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
35 * @run main/othervm -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
36 * @run main/othervm -Dsun.java2d.opengl=true -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
|
37 * @run main/othervm -Dsun.java2d.d3d=true -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
36 * @run main/othervm -Dsun.java2d.d3d=true -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
38 * @run main/othervm -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false |
37 * @run main/othervm -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false |
39 * -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
38 * -Dsun.java2d.uiScale=2 CopyScaledAreaTest |
40 */ |
39 */ |
41 public class CopyScaledAreaTest { |
40 public class CopyScaledAreaTest { |