This commit is contained in:
Lana Steuck 2016-08-11 17:02:08 +00:00
commit b90ea2d2d2
3 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ public class SchemaGenerator {
aptargs.add("-cp");
aptargs.add(setClasspath(options.classpath)); // set original classpath + jaxb-api to be visible to annotation processor
aptargs.add("-addmods");
aptargs.add("--add-modules");
aptargs.add("java.xml.bind");
if(options.targetDir!=null) {

View File

@ -162,7 +162,7 @@ public class WsgenTool {
boolean bootCP = useBootClasspath(EndpointReference.class) || useBootClasspath(XmlSeeAlso.class);
List<String> args = new ArrayList<String>(6 + (bootCP ? 1 : 0) + (options.nocompile ? 1 : 0)
+ (options.encoding != null ? 2 : 0));
args.add("-addmods");
args.add("--add-modules");
args.add("java.xml.ws");
args.add("-d");
args.add(options.destDir.getAbsolutePath());

View File

@ -525,7 +525,7 @@ public class WsimportTool {
String classpathString = createClasspathString();
boolean bootCP = useBootClasspath(EndpointContext.class) || useBootClasspath(JAXBPermission.class);
List<String> args = new ArrayList<String>();
args.add("-addmods");
args.add("--add-modules");
args.add("java.xml.ws");
args.add("-d");
args.add(classDir);