< prev index next >
langtools/test/tools/javadoc/6964914/TestUserDoclet.java
Print this page
*** 57,71 ****
// run javadoc in separate process to ensure doclet executed under
// normal user conditions w.r.t. classloader
String thisClassName = TestUserDoclet.class.getName();
List<String> cmdArgs = new ArrayList<>();
cmdArgs.add(javadoc.getPath());
- int i = 0;
- String prop;
- while ((prop = System.getProperty("jdk.launcher.patch." + (i++))) != null) {
- cmdArgs.add("-J-Xpatch:" + prop);
- }
cmdArgs.addAll(Arrays.asList(
"-doclet", thisClassName,
"-docletpath", testClasses.getPath(),
new File(testSrc, thisClassName + ".java").getPath()
));
--- 57,66 ----
< prev index next >