RFR: 8296935: Arrays.asList().set() with wrong types throws undocumented ArrayStoreException [v6]
Tingjun Yuan
duke at openjdk.org
Mon Jan 23 07:24:22 UTC 2023
> Document `java.util.Arrays.asList` that the list will throw an `ArrayStoreException` when attempting to set an element with a wrong type.
Tingjun Yuan has updated the pull request incrementally with two additional commits since the last revision:
- Restore List.java
- Fix whitespace error
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12135/files
- new: https://git.openjdk.org/jdk/pull/12135/files/c4b32b88..ed1be48a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=04-05
Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/12135.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12135/head:pull/12135
PR: https://git.openjdk.org/jdk/pull/12135
More information about the core-libs-dev
mailing list