jdk/test/java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java
changeset 39056 d99e63b6d962
parent 28074 bb1a1f7d0038
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     1 /*
     1 /*
     2  * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, 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.
    42 import static java.awt.Transparency.TRANSLUCENT;
    42 import static java.awt.Transparency.TRANSLUCENT;
    43 import static java.awt.image.BufferedImage.TYPE_INT_ARGB;
    43 import static java.awt.image.BufferedImage.TYPE_INT_ARGB;
    44 
    44 
    45 /**
    45 /**
    46  * @test
    46  * @test
       
    47  * @key headful
    47  * @bug 8059942
    48  * @bug 8059942
    48  * @summary Tests rotated clip when unmanaged image is drawn to VI.
    49  * @summary Tests rotated clip when unmanaged image is drawn to VI.
    49  *          Results of the blit to compatibleImage are used for comparison.
    50  *          Results of the blit to compatibleImage are used for comparison.
    50  * @author Sergey Bylokhov
    51  * @author Sergey Bylokhov
    51  */
    52  */