> 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: Restore the old behavior and document about ASE ------------- Changes: - all: https://git.openjdk.org/jdk/pull/12135/files - new: https://git.openjdk.org/jdk/pull/12135/files/207ec9c8..a2ab0b36 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12135&range=00-01 Stats: 33 lines in 1 file changed: 22 ins; 9 del; 2 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