test/jdk/javax/swing/JInternalFrame/8069348/bug8069348.java
changeset 49217 3b820b878ebe
parent 47216 71c04702a3d5
equal deleted inserted replaced
49216:577f96d4f3c9 49217:3b820b878ebe
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2017, 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.
    35 import static sun.awt.OSInfo.*;
    35 import static sun.awt.OSInfo.*;
    36 
    36 
    37 /**
    37 /**
    38  * @test
    38  * @test
    39  * @key headful
    39  * @key headful
    40  * @bug 8069348 8159902
    40  * @bug 8069348 8159902 8198613
    41  * @summary SunGraphics2D.copyArea() does not properly work for scaled graphics
    41  * @summary SunGraphics2D.copyArea() does not properly work for scaled graphics
    42  * @author Alexandr Scherbatiy
    42  * @author Alexandr Scherbatiy
    43  * @modules java.desktop/sun.awt
    43  * @modules java.desktop/sun.awt
    44  * @run main/othervm -Dsun.java2d.uiScale=2 bug8069348
    44  * @run main/othervm -Dsun.java2d.uiScale=2 bug8069348
    45  * @run main/othervm -Dsun.java2d.opengl=true -Dsun.java2d.uiScale=2 bug8069348
       
    46  * @run main/othervm -Dsun.java2d.d3d=true -Dsun.java2d.uiScale=2 bug8069348
    45  * @run main/othervm -Dsun.java2d.d3d=true -Dsun.java2d.uiScale=2 bug8069348
    47  */
    46  */
    48 public class bug8069348 {
    47 public class bug8069348 {
    49 
    48 
    50     private static final int WIN_WIDTH = 500;
    49     private static final int WIN_WIDTH = 500;