< prev index next >

test/jdk/java/io/Serializable/superclassDataLoss/SuperclassDataLossTest.java

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

*** 23,33 **** /* * @test * @bug 4325590 * @library /test/lib ! * @build JarUtils A B * @run main SuperclassDataLossTest * @summary Verify that superclass data is not lost when incoming superclass * descriptor is matched with local class that is not a superclass of * the deserialized instance's class. */ --- 23,33 ---- /* * @test * @bug 4325590 * @library /test/lib ! * @build jdk.test.lib.util.JarUtils A B * @run main SuperclassDataLossTest * @summary Verify that superclass data is not lost when incoming superclass * descriptor is matched with local class that is not a superclass of * the deserialized instance's class. */
*** 45,54 **** --- 45,56 ---- import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; + import jdk.test.lib.util.JarUtils; + class MixedSuperclassStream extends ObjectInputStream { private boolean ldr12A; private URLClassLoader ldr1; private URLClassLoader ldr2;
< prev index next >