On Thu, 30 Jul 2026 13:13:31 GMT, Coleen Phillimore <[email protected]> wrote:
>> 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. @coleenp I think the existing behavior is always returning false for primitive types and non-instanceKlass, so Java side can probably do something like `if (isArray() || isPrimitive()) return false` to preserve the behavior. And the spec update can happen later because there's no behavioral change, just a clarification. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32086#issuecomment-5132496627
