coheigea opened a new pull request, #398:
URL: https://github.com/apache/cxf-xjc-utils/pull/398

   Bug986Plugin read and modified field annotations through reflection on
   private codemodel fields. When XJC runs on the module path, codemodel
   does not open its packages, so the reflection failed: the plugin printed
   stack traces and silently left @XmlSchemaType(name = "anySimpleType") in
   place. Other failures caused a NullPointerException that aborted the
   XJC run.
   
   Use the public JVar.annotations()/removeAnnotation() and
   JAnnotationUse.getAnnotationClass()/getAnnotationMembers() methods,
   available since Jakarta JAXB 3.0.0, instead. The generated code is
   unchanged on the class path.
   
   Add tests running XJC with the plugin on the class path and on the
   module path.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to