test/jdk/tools/jpackage/linux/LicenseTypeTest.java
branchJDK-8200758-branch
changeset 58416 f09bf58c1f17
parent 58301 e0efb29609bd
child 58761 88e2753a2334
--- a/test/jdk/tools/jpackage/linux/LicenseTypeTest.java	Mon Sep 30 15:59:50 2019 -0400
+++ b/test/jdk/tools/jpackage/linux/LicenseTypeTest.java	Mon Sep 30 19:11:19 2019 -0400
@@ -21,7 +21,7 @@
  * questions.
  */
 
-import jdk.jpackage.test.Test;
+import jdk.jpackage.test.TKit;
 import jdk.jpackage.test.PackageTest;
 import jdk.jpackage.test.PackageType;
 
@@ -39,6 +39,7 @@
  * @test
  * @summary jpackage with --linux-rpm-license-type
  * @library ../helpers
+ * @build jdk.jpackage.test.*
  * @requires (os.family == "linux")
  * @modules jdk.jpackage/jdk.jpackage.internal
  * @run main/othervm/timeout=360 -Xmx512m LicenseTypeTest
@@ -48,7 +49,7 @@
     public static void main(String[] args) {
         final String LICENSE_TYPE = "JP_LICENSE_TYPE";
 
-        Test.run(args, () -> {
+        TKit.run(args, () -> {
             new PackageTest().forTypes(PackageType.LINUX_RPM).configureHelloApp()
             .addInitializer(cmd -> {
                 cmd.addArguments("--linux-rpm-license-type", LICENSE_TYPE);