mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java should be removed from the repo
Reviewed-by: ksrini
This commit is contained in:
parent
fa729039be
commit
9d30f46219
5 changed files with 3 additions and 8 deletions
|
@ -112,11 +112,6 @@ public class ExtDirTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
void createJars() throws Exception {
|
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 =
|
sun.tools.jar.Main jarGenerator =
|
||||||
new sun.tools.jar.Main(System.out, System.err, "jar");
|
new sun.tools.jar.Main(System.out, System.err, "jar");
|
||||||
|
|
||||||
|
@ -155,19 +150,19 @@ public class ExtDirTest {
|
||||||
|
|
||||||
void compileWithExtDirs() throws Exception {
|
void compileWithExtDirs() throws Exception {
|
||||||
|
|
||||||
//"$javac" ${TESTTOOLVMOPTS} -d . -extdirs ext1 "${TESTSRC}${FS}ExtDirTest_1.java"
|
//javac -extdirs ext1 ExtDirTest_1.java
|
||||||
ToolBox.JavaToolArgs params =
|
ToolBox.JavaToolArgs params =
|
||||||
new ToolBox.JavaToolArgs()
|
new ToolBox.JavaToolArgs()
|
||||||
.setOptions("-d", ".", "-extdirs", "ext1")
|
.setOptions("-d", ".", "-extdirs", "ext1")
|
||||||
.setSources(ExtDirTest_1Src);
|
.setSources(ExtDirTest_1Src);
|
||||||
ToolBox.javac(params);
|
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")
|
params.setOptions("-d", ".", "-extdirs", "ext1" + File.pathSeparator + "ext2")
|
||||||
.setSources(ExtDirTest_2Src);
|
.setSources(ExtDirTest_2Src);
|
||||||
ToolBox.javac(params);
|
ToolBox.javac(params);
|
||||||
|
|
||||||
//"$javac" ${TESTTOOLVMOPTS} -d . -extdirs ext3 "${TESTSRC}${FS}ExtDirTest_3.java"
|
//javac -extdirs ext3 ExtDirTest_3.java
|
||||||
params.setOptions("-d", ".", "-extdirs", "ext3")
|
params.setOptions("-d", ".", "-extdirs", "ext3")
|
||||||
.setSources(ExtDirTest_3Src);
|
.setSources(ExtDirTest_3Src);
|
||||||
ToolBox.javac(params);
|
ToolBox.javac(params);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue