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. We might need a minor CSR recording the behavior difference of `int.class.desiredAssertionStatus()` when system assertions are enabled. In JDK 26.0.1, with `-esa`, `desiredAssertionStatus` returns `true` for `Integer.class` and `false` for `int.class`, `int[].class`, and `Integer[].class`. ------------- Marked as reviewed by liach (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32086#pullrequestreview-4813198316 PR Comment: https://git.openjdk.org/jdk/pull/32086#issuecomment-5123744543
