On Thu, 30 Jul 2026 15:47:28 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: > > Maybe this is better. >From the VM POV, since we removed the paths for primitives and arrays, we >might drop those returns in `JVM_DesiredAssertionStatus` and just do >`InstanceKlass* k = java_lang_Class::as_InstanceKlass(r);`, which I believe >already comes with an assert. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32086#issuecomment-5144233605
