< prev index next >

test/jdk/tools/launcher/modules/addexports/manifest/AddExportsAndOpensInManifest.java

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

*** 23,33 **** /** * @test * @library /test/lib * @modules jdk.compiler ! * @build AddExportsAndOpensInManifest Test2 JarUtils * @compile --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED Test1.java * @run testng AddExportsAndOpensInManifest * @summary Basic test for Add-Exports and Add-Opens attributes in the * manifest of a main application JAR */ --- 23,34 ---- /** * @test * @library /test/lib * @modules jdk.compiler ! * @build AddExportsAndOpensInManifest Test2 ! * jdk.test.lib.util.JarUtils * @compile --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED Test1.java * @run testng AddExportsAndOpensInManifest * @summary Basic test for Add-Exports and Add-Opens attributes in the * manifest of a main application JAR */
*** 39,48 **** --- 40,50 ---- import java.util.jar.Attributes; import java.util.jar.Manifest; import jdk.test.lib.process.OutputAnalyzer; import jdk.test.lib.process.ProcessTools; + import jdk.test.lib.util.JarUtils; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import static org.testng.Assert.*;
< prev index next >