Overview

This PR provides the ability to serialize a JAXBElement using the Jaxb2XmlEncoder by updating canEncode() accordingly.

Related Issues

  • 30552

  • 32972

Comment From: sbrannen

Congratulations on submitting your first PR for the Spring Framework! 👍

This has been merged into 6.1.x and main.

Thanks

Comment From: olbinski

Hello @sbrannen, @deblockt. This PR contains bug. isAssignableFrom should be done in opposite way. Check: https://github.com/spring-projects/spring-framework/pull/33258