< prev index next >

src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/SchemaGenerator.java

Print this page

        

*** 44,54 **** import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; - import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; --- 44,53 ----
*** 248,259 **** com.sun.tools.internal.jxc.ap.SchemaGenerator r = new com.sun.tools.internal.jxc.ap.SchemaGenerator(); if (episode != null) r.setEpisodeFile(episode); task.setProcessors(Collections.singleton(r)); boolean res = task.call(); ! //Print messages generated by compiler ! for (Diagnostic<? extends JavaFileObject> d : diagnostics.getDiagnostics()) { System.err.println(d.toString()); } return res; } } --- 247,258 ---- com.sun.tools.internal.jxc.ap.SchemaGenerator r = new com.sun.tools.internal.jxc.ap.SchemaGenerator(); if (episode != null) r.setEpisodeFile(episode); task.setProcessors(Collections.singleton(r)); boolean res = task.call(); ! //Print compiler generated messages ! for( Diagnostic<? extends JavaFileObject> d : diagnostics.getDiagnostics() ) { System.err.println(d.toString()); } return res; } }
< prev index next >