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.

Yes, I saw nothing in the spec that I could interpret definitively about what 
to return for primitive types and array types where the component type is not 
the boot class loader. This change is an interpretation of what I think it 
should do but is a change in behavior in product mode, so I agree should have a 
spec update and/or a CSR.

Maybe the Java side should be fixed instead.  Maybe it doesn't make sense for 
primitives and arrays to have an assertion status.

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

PR Comment: https://git.openjdk.org/jdk/pull/32086#issuecomment-5131276626

Reply via email to