On Fri, 31 Jul 2026 01:07:58 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).
>
> 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

Looks okay and reviewed the CSR.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32110#pullrequestreview-4827832302

Reply via email to