Integrated: JDK-8329089: Empty immutable list throws the wrong exception type for remove(first | last) operations
Per Minborg
pminborg at openjdk.org
Fri Apr 5 07:41:13 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`.
This pull request has now been integrated.
Changeset: b71acc70
Author: Per Minborg <pminborg at 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
More information about the core-libs-dev
mailing list