On Thu, 30 Jul 2026 20:59:32 GMT, Chen Liang <[email protected]> wrote:
> 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). See https://github.com/openjdk/jdk/pull/32086#discussion_r3684466603 for the motivation. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32110#issuecomment-5136283753
