changeset 16731:d52809e235c9

8174248: partialUpdateFooMainClass test in tools/jar/modularJar/Basic.java needs to be re-examined Reviewed-by: chegar, lancea
author sherman
date Tue, 14 Feb 2017 11:50:33 -0800
parents b8d79a801d16
children 22af9029b07b
files test/tools/jar/modularJar/Basic.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/jar/modularJar/Basic.java	Tue Feb 14 21:56:09 2017 +0530
+++ b/test/tools/jar/modularJar/Basic.java	Tue Feb 14 11:50:33 2017 -0800
@@ -46,7 +46,7 @@
 
 /*
  * @test
- * @bug 8167328 8171830 8165640
+ * @bug 8167328 8171830 8165640 8174248
  * @library /lib/testlibrary
  * @modules jdk.compiler
  *          jdk.jartool
@@ -323,7 +323,7 @@
             .resultChecker(r -> assertModuleData(r, FOO));
     }
 
-    @Test(enabled = false)
+    @Test
     public void partialUpdateFooMainClass() throws IOException {
         Path mp = Paths.get("partialUpdateFooMainClass");
         createTestDir(mp);
@@ -333,7 +333,7 @@
         // A "bad" main class in first create ( and no version )
         jar("--create",
             "--file=" + modularJar.toString(),
-            "--main-class=" + "IAmNotTheEntryPoint",
+            "--main-class=" + "jdk.test.foo.IAmNotTheEntryPoint",
             "--no-manifest",
             "-C", modClasses.toString(), ".")  // includes module-info.class
            .assertSuccess();