jakartaee / jakartaee/jaxb-api
JAXBElement to implement equals and hashCode
Open
enhancement
Major
- Dominant language
- Java
- Stars
- 79
- Forks
- 48
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 2
Description
Hi.
javax.xml.bind.JAXBElement currently does not override equals(...) and
hashCode() methods. Since this class is used to wrap "real" values, it is
desirable to implement these methods so that they take hashCode() and
equals(...) of the wrapped value into an account.
Basically, hashCode() and equals(...) should operate with name, declaredType,
scope, nil AND value fields.
I can implement these methods, but I need to know, where to find the jaxb-api
project sources...
Bye.
/lexi
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.0 EA1]
Contributor guide
Assessment
This issue has not been assessed yet.