[YANGTOOLS-1417] AbstractImmutableDataContainerNode violates equals() contract Created: 01/Apr/22 Updated: 02/Apr/22 Resolved: 02/Apr/22 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | data-impl |
| Affects Version/s: | 7.0.0, 8.0.0, 7.0.15, 8.0.2 |
| Fix Version/s: | 8.0.3, 7.0.16 |
| Type: | Bug | Priority: | High |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The implementation of valueEquals() requires that the other implementation is also based on AbstractImmutableDataContainerNode. This breaks equals() with AbstractBindingLazyContainerNode, which uses the same implementation for its delegate. |