> Modify `java.util.Arrays.ArrayList.{set,replaceAll}` to throw a > `ClassCastException` (as documented in `java.util.List`) 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: Change `@apiNote` to `@implNote` ------------- Changes: - all: https://git.openjdk.org/jdk/pull/12135/files - new: https://git.openjdk.org/jdk/pull/12135/files/22c80631..c4b32b88 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=03-04 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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