Resolution: Not A Bug
Affects Version/s: 3.0.5, 2.5.13
Fix Version/s: None
Environment:Ubuntu 18.04.5 LTS
OpenJDK Java 1.8.0_265 (Private Build 25.265-b01)
List.intersect preserves the ordering of the source list in Groovy 2.4 but instead takes the ordering of the intersecting list. This can lead to unexpected behavior in Groovy applications as code migrates to newer versions of Groovy.
The order of the first list is preserved.
The order of the second list takes precedence.
|2.5.13||Assertion fails (order reversed)|
|3.0.5||Assertion fails (order reversed)|