RFR: 8296935: Arrays.asList().set() with wrong types throws undocumented ArrayStoreException [v7]

Tingjun Yuan duke at openjdk.org
Mon Jan 23 07:33:21 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 one additional commit since the last revision:

  Update `implSpec` and remove the docs of the impl.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12135/files
  - new: https://git.openjdk.org/jdk/pull/12135/files/ed1be48a..ae050ecc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=05-06

  Stats: 20 lines in 1 file changed: 0 ins; 16 del; 4 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