< prev index next >

jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wscompile/WsgenTool.java

Print this page

        

*** 160,170 **** final ErrorReceiverFilter errReceiver = new ErrorReceiverFilter(listener); 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"); args.add(options.classpath); --- 160,170 ---- final ErrorReceiverFilter errReceiver = new ErrorReceiverFilter(listener); 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("--add-modules"); args.add("java.xml.ws"); args.add("-d"); args.add(options.destDir.getAbsolutePath()); args.add("-classpath"); args.add(options.classpath);
< prev index next >