< prev index next >

test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarProperties.java

Print this page

        

*** 23,34 **** /* * @test * @bug 8132734 8144062 8194070 * @summary Test the System properties for JarFile that support multi-release jar files ! * @library /lib/testlibrary/java/util/jar ! * @build Compiler JarBuilder CreateMultiReleaseTestJars * @run testng MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=0 MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=8 MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=9 MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=100 MultiReleaseJarProperties --- 23,36 ---- /* * @test * @bug 8132734 8144062 8194070 * @summary Test the System properties for JarFile that support multi-release jar files ! * @library /lib /test/lib ! * @build jdk.test.lib.compiler.Compiler ! * jdk.test.lib.util.JarBuilder ! * mrjar.CreateMultiReleaseTestJars * @run testng MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=0 MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=8 MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=9 MultiReleaseJarProperties * @run testng/othervm -Djdk.util.jar.version=100 MultiReleaseJarProperties
*** 50,59 **** --- 52,65 ---- import java.net.URLClassLoader; import java.nio.file.Files; import java.util.jar.JarEntry; import java.util.jar.JarFile; + import jdk.test.lib.compiler.Compiler; + import jdk.test.lib.util.JarBuilder; + import mrjar.CreateMultiReleaseTestJars; + import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test;
< prev index next >