RFR: JDK-8329089: Empty immutable list throws the wrong exception type for remove(first | last) operations

Roger Riggs rriggs at openjdk.org
Thu Apr 4 14:46:09 UTC 2024


On Tue, 2 Apr 2024 10:37:02 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to make empty immutable lists always throw UOE on `removeFirst` and `removeLast`.

LGTM

-------------

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18581#pullrequestreview-1980142511


More information about the core-libs-dev mailing list