< prev index next >

test/java/awt/datatransfer/CustomClassLoaderTransferTest/CustomClassLoaderTransferTest.java

Print this page
rev 14836 : 8159690: [TESTBUG] Mark headful tests with @key headful.
   1 /*
   2   @test

   3   @bug 4932376
   4   @summary verifies that data transfer within one JVM works correctly if
   5            the transfer data was created with a custom class loader.
   6   @author das@sparc.spb.su area=datatransfer
   7   @library ../../regtesthelpers
   8   @build TransferableList AnotherInterface CopyClassFile CustomClassLoaderTransferTest
   9   @run main CopyClassFile -r ListInterface subdir/
  10   @run main CopyClassFile -r TransferableList subdir/
  11   @run main CustomClassLoaderTransferTest
  12 */
  13 
  14 import java.awt.*;
  15 import java.awt.datatransfer.*;
  16 import java.io.*;
  17 import java.net.URL;
  18 import java.net.URLClassLoader;
  19 
  20 public class CustomClassLoaderTransferTest {
  21     public static class DFTransferable implements Transferable {
  22         private final DataFlavor df;


   1 /*
   2   @test
   3   @key headful
   4   @bug 4932376
   5   @summary verifies that data transfer within one JVM works correctly if
   6            the transfer data was created with a custom class loader.
   7   @author das@sparc.spb.su area=datatransfer
   8   @library ../../regtesthelpers
   9   @build TransferableList AnotherInterface CopyClassFile CustomClassLoaderTransferTest
  10   @run main CopyClassFile -r ListInterface subdir/
  11   @run main CopyClassFile -r TransferableList subdir/
  12   @run main CustomClassLoaderTransferTest
  13 */
  14 
  15 import java.awt.*;
  16 import java.awt.datatransfer.*;
  17 import java.io.*;
  18 import java.net.URL;
  19 import java.net.URLClassLoader;
  20 
  21 public class CustomClassLoaderTransferTest {
  22     public static class DFTransferable implements Transferable {
  23         private final DataFlavor df;


< prev index next >