RFR: 8296935: Arrays.asList().set() with wrong types throws undocumented ArrayStoreException
Tingjun Yuan
duke at openjdk.org
Mon Jan 23 07:04:22 UTC 2023
On Mon, 23 Jan 2023 06:29:47 GMT, Stuart Marks <smarks at openjdk.org> wrote:
> We don't want to change long-standing exception-throwing behavior for these cases. See my comments in [JDK-8296935](https://bugs.openjdk.org/browse/JDK-8296935).
Understand that, so I restored the current behavior and documented about this.
-------------
PR: https://git.openjdk.org/jdk/pull/12135
More information about the core-libs-dev
mailing list