gnodet opened a new pull request, #2945: URL: https://github.com/apache/cxf/pull/2945
## Summary - `Utils.getFields()` and `Utils.getGetters()` use `HashSet` to collect bean properties from reflection, which produces non-deterministic iteration order - This causes serialized XML element order to vary between runs when `@XmlType(propOrder)` is not specified - Switch to `LinkedHashSet` to preserve insertion order (matching `Class.getDeclaredFields()`/`getDeclaredMethods()` order), ensuring deterministic serialization The same `HashSet` non-determinism also affects `JAXBSchemaInitializer` (schema generation path) and `JAXBEncoderDecoder.marshallException()` (serialization path), both of which iterate over the collections returned by `Utils`. Closes #1516 ## Test plan - [x] `rt/databinding/jaxb` module tests pass - [ ] CI green 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
