RFR: 8073519: schemagen does not report errors while generating xsd files
aleksej.efimov at oracle.com
Fri Oct 9 21:09:21 UTC 2015
Please, review the fix for schemagen regression bug  in JDK9: The
JDK9 (and JDK8 too) version of schemagen doesn't report errors during
the compilation of the input java file.
The issue was introduced by standalone JAXB project changes and then it
was synced to JDK source. The SchemaGenerator class was changed to use
javax.tools.JavaCompiler (instead of com.sun.tools.apt.process), but the
diagnostic information generated by javac was silently ignored.
The proposed patch solves the reported problem:
The generated messages with fix applied is the same as in JDK7 - same as
was before mentioned changes.
The proposed fix is already integrated to standalone JAXB project and
identical to the proposed source changes. Testing shows no failures with
With Best Regards,
More information about the core-libs-dev