On Wed, 29 Jul 2026 21:19:14 GMT, Coleen Phillimore <[email protected]> wrote:
>> This fixes a longstanding problem with desiredAssertionStatus and adds a >> test. >> Tested with tier1. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Coleen Phillimore has updated the pull request incrementally with one > additional commit since the last revision: > > Fix test. I don't think this is correct or appropriate. The specification for the assertion related methods is incomplete. Assertions (per JLS) pertain to top-level classes and interfaces (and assertion status is inherited by nested types). The spec says nothing about how these methods should behave for non-top-level classes e.g. array classes or classes for the primitives. This needs to be fixed on the JDK side by updating the specification and performing the necessary actions in Java code. ------------- Changes requested by dholmes (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32086#pullrequestreview-4814026252
