aionnetwork / AVM

Enabling Java code to run in a blockchain environment
https://theoan.com/
MIT License
49 stars 25 forks source link

Implement remove() in AionListIterator #382

Closed jeff-aion closed 5 years ago

jeff-aion commented 5 years ago

Our AionList implementation for methods such as retainAll() assume that they can call remove() on an iterator but this throws UnsupportedOperationException.

While we don't need all optional operations to be supported, we definitely need to implement the ones we are relying on, internally.