8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java should be removed from the repo
authorvromero
Wed, 30 Oct 2013 18:09:49 +0000
changeset 21504 6c8a8aadc080
parent 21503 45fc62482cae
child 21505 403632350961
8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java should be removed from the repo Reviewed-by: ksrini
langtools/test/tools/javac/ExtDirs/ExtDirTest.java
langtools/test/tools/javac/ExtDirs/ext1/pkg1.jar
langtools/test/tools/javac/ExtDirs/ext2/pkg2.jar
langtools/test/tools/javac/ExtDirs/ext3/pkg1.jar
langtools/test/tools/javac/ExtDirs/ext3/pkg2.jar
--- a/langtools/test/tools/javac/ExtDirs/ExtDirTest.java	Wed Oct 30 08:35:52 2013 -0700
+++ b/langtools/test/tools/javac/ExtDirs/ExtDirTest.java	Wed Oct 30 18:09:49 2013 +0000
@@ -112,11 +112,6 @@
     }
 
     void createJars() throws Exception {
-
-//        for i in 1 2 3; do
-//            if test ! -d ext${i}; then mkdir ext${i}; fi
-//            cp ${TESTSRC}${FS}ext${i}${FS}*.jar ext${i}
-//        done
         sun.tools.jar.Main jarGenerator =
                 new sun.tools.jar.Main(System.out, System.err, "jar");
 
@@ -155,19 +150,19 @@
 
     void compileWithExtDirs() throws Exception {
 
-//"$javac" ${TESTTOOLVMOPTS} -d . -extdirs ext1 "${TESTSRC}${FS}ExtDirTest_1.java"
+//javac -extdirs ext1 ExtDirTest_1.java
         ToolBox.JavaToolArgs params =
                 new ToolBox.JavaToolArgs()
                 .setOptions("-d", ".", "-extdirs", "ext1")
                 .setSources(ExtDirTest_1Src);
         ToolBox.javac(params);
 
-//"$javac" ${TESTTOOLVMOPTS} -d . -extdirs ext1${PS}ext2 "${TESTSRC}${FS}ExtDirTest_2.java"
+//javac -extdirs ext1:ext2 ExtDirTest_2.java
         params.setOptions("-d", ".", "-extdirs", "ext1" + File.pathSeparator + "ext2")
                 .setSources(ExtDirTest_2Src);
         ToolBox.javac(params);
 
-//"$javac" ${TESTTOOLVMOPTS} -d . -extdirs ext3 "${TESTSRC}${FS}ExtDirTest_3.java"
+//javac -extdirs ext3 ExtDirTest_3.java
         params.setOptions("-d", ".", "-extdirs", "ext3")
                 .setSources(ExtDirTest_3Src);
         ToolBox.javac(params);
Binary file langtools/test/tools/javac/ExtDirs/ext1/pkg1.jar has changed
Binary file langtools/test/tools/javac/ExtDirs/ext2/pkg2.jar has changed
Binary file langtools/test/tools/javac/ExtDirs/ext3/pkg1.jar has changed
Binary file langtools/test/tools/javac/ExtDirs/ext3/pkg2.jar has changed