< prev index next >

test/jdk/java/io/Serializable/resolveClass/deserializeButton/DeserializeButtonTest.java

Print this page
rev 51881 : [mq]: 8211171
rev 51882 : [mq]: 8211171-1

@@ -23,11 +23,11 @@
 
 /*
  * @test
  * @bug 4413434
  * @library /test/lib
- * @build JarUtils Foo
+ * @build jdk.test.lib.util.JarUtils Foo
  * @run main DeserializeButtonTest
  * @summary Verify that class loaded outside of application class loader is
  *          correctly resolved during deserialization when read in by custom
  *          readObject() method of a bootstrap class (in this case,
  *          java.util.Vector).

@@ -36,10 +36,12 @@
 import java.net.URLClassLoader;
 import java.net.URL;
 import java.nio.file.Path;
 import java.nio.file.Paths;
 
+import jdk.test.lib.util.JarUtils;
+
 public class DeserializeButtonTest {
     public static void main(String[] args) throws Exception {
         setup();
 
         try (URLClassLoader ldr =
< prev index next >