Withdrawn: 8296935: Arrays.asList().set() with wrong types throws undocumented ArrayStoreException

Tingjun Yuan duke at openjdk.org
Thu Feb 16 04:49:15 UTC 2023


On Mon, 23 Jan 2023 02:35:19 GMT, Tingjun Yuan <duke at openjdk.org> wrote:

> Document `java.util.Arrays.asList` that the list will throw an `ArrayStoreException` when attempting to set an element with a wrong type.

This pull request has been closed without being integrated.

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

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


More information about the core-libs-dev mailing list