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

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

This pull request has now been integrated.

Changeset: b71acc70
Author:    Per Minborg <pminb...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/b71acc704a13b816621b9db65b4c5107f2ae032f
Stats:     9 lines in 2 files changed: 9 ins; 0 del; 0 mod

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

Reviewed-by: rriggs

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

PR: https://git.openjdk.org/jdk/pull/18581

Reply via email to