Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.7.5
-
None
-
Eclipse Plugin, Windows 7
Description
List liste = new ObservableList<String>()
liste.add "test"
liste.add "test2"
List andereListe = new LinkedList<String>()
liste.retainAll
{ elem -> andereListe.contains(elem) }assert liste.isEmpty()
____________________________________________
This results in:
____________________________________________
Exception in thread "main" Assertion failed:
assert liste.isEmpty()
false [test] ____________________________________________ |
If the ObservableList is changed to LinkedList, the testcase works.