Recursive Comparison and JAXB/Java EE #3374
gigermocas
started this conversation in
General
Replies: 1 comment 3 replies
-
@gigermocas with java version are you using and do you know if Java EE 9 has modules that won't allow reflection ? We need to discuss as a team whether to allow introspecting javax types (or having an option to choose whether or not to) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
AssertJ v.3.25.0 introduced a major breaking change by not allowing classes from
javax
packages from being introspected (due to #2928). The end result means that all classes onjavax
packages from Java EE and JAXB (on Java 17), are excluded from being properly asserted on using recursive comparisons.The most common use case for me is using this feature on JAXB objects, which are by definition can be deeply nested through
javax.xml.bind.JAXBElement
classes.I am unable to move to the Jakarta EE 9 ecosystem completely for most of my projects but still would like to take advantage of new AssertJ features and bug fixes.
Is this an intended consequence and AssertJ v3.24.x should be used for those still with dependencies on the
javax.*
namespace?Beta Was this translation helpful? Give feedback.
All reactions