< prev index next >

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

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

@@ -21,14 +21,14 @@
  * questions.
  */
 
 /**
  * @test
- * @library /lib/testlibrary
  * @library /test/lib
  * @modules jdk.compiler
- * @build AddExportsAndOpensInManifest Test2 JarUtils jdk.testlibrary.*
+ * @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
  */

@@ -40,10 +40,11 @@
 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 >