--- old/test/jdk/java/awt/dnd/ImageTransferTest/ImageTransferTest.java 2018-02-14 15:31:57.401570000 +0530 +++ new/test/jdk/java/awt/dnd/ImageTransferTest/ImageTransferTest.java 2018-02-14 15:31:57.161450000 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2018, 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,16 +22,16 @@ */ /* - @test - @key headful - @bug 4397404 4720930 - @summary tests that images of all supported native image formats are transfered properly - @library ../../../../lib/testlibrary - @library ../../regtesthelpers/process/ - @build jdk.testlibrary.OSInfo ProcessResults ProcessCommunicator - @author gas@sparc.spb.su area=Clipboard - @run main ImageTransferTest -*/ + * @test + * @key headful + * @bug 4397404 4720930 8197926 + * @summary tests that images of all supported native image formats are transfered properly + * @library ../../../../lib/testlibrary + * @library ../../regtesthelpers/process/ + * @build jdk.testlibrary.OSInfo ProcessResults ProcessCommunicator + * @author gas@sparc.spb.su area=Clipboard + * @run main ImageTransferTest + */ import test.java.awt.regtesthelpers.process.ProcessCommunicator; import test.java.awt.regtesthelpers.process.ProcessResults; @@ -58,6 +58,7 @@ public class ImageTransferTest { public static void main(String[] arg) throws Exception { ImageDragSource ids = new ImageDragSource(); + ids.frame.setUndecorated(true); ids.frame.setLocation(100, 100); ids.frame.setVisible(true); Util.sync(); @@ -362,6 +363,7 @@ public static void main(String[] args) { try { ImageDropTarget idt = new ImageDropTarget(); + idt.frame.setUndecorated(true); int x = Integer.parseInt(args[0]); int y = Integer.parseInt(args[1]);