8154956: Module system implementation refresh (4/2016)

Reviewed-by: mchung, chegar, redestad
This commit is contained in:
Alan Bateman 2016-05-03 09:09:49 +01:00
parent 2a6a1d7c8e
commit 5c29c94f31
3 changed files with 7 additions and 0 deletions

View File

@ -140,6 +140,9 @@ 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("java.xml.bind");
if(options.targetDir!=null) {
aptargs.add("-d");
aptargs.add(options.targetDir.getPath());

View File

@ -162,6 +162,8 @@ 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("java.xml.ws");
args.add("-d");
args.add(options.destDir.getAbsolutePath());
args.add("-classpath");

View File

@ -525,6 +525,8 @@ 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("java.xml.ws");
args.add("-d");
args.add(classDir);
args.add("-classpath");