phax/ph-commons

Java SE 21 adds new ArrayList methods conflicting with `ICommonsList`

Closed this issue · 1 comments

phax commented

See https://docs.oracle.com/en/java/javase/21/docs/api/new-list.html

The methods under question are:

  • ArrayList.getFirst()
  • ArrayList.getLast()
  • ArrayList.removeFirst()
  • ArrayList.removeLast()

These methods in ICommonsList need to be deprecated for removal and instead new methods with OrNull appended to their names, but with the same functionality needs be added.

phax commented

Part of the 11.1.5 release