Duplicate :
|
CopyOnWriteArrayList.COWSubList does not validate its args to the same extent as, for example, ArrayList.SubList. Specifically, it does not check if the from index is greater than the to index. Suggestion is to add a subListRangeCheck method like in ArrayList.SubList and use it for validation. Issue reported by Arne Siegel <v.a.ammodytes@googlemail.com>
|