> Explicitly specify that `Class::desiredAssertionStatus` returns `false` for > primitives and arrays. > > The original spec of this method says "class" instead of "class or > interface", which is technically incorrect, but the specifications around > assertions here and in the JLS are quite messed up, so I am withholding from > more ambitious changes. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: - Merge branch 'master' of https://github.com/openjdk/jdk into doc/class-assert-prim - 8389466 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32110/files - new: https://git.openjdk.org/jdk/pull/32110/files/da885aca..684dc15f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32110&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32110&range=00-01 Stats: 211816 lines in 1890 files changed: 198603 ins; 3754 del; 9459 mod Patch: https://git.openjdk.org/jdk/pull/32110.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32110/head:pull/32110 PR: https://git.openjdk.org/jdk/pull/32110
