On Wed, 20 Aug 2025 14:47:58 GMT, Ferenc Rakoczi <d...@openjdk.org> wrote:

> What do you mean by "works"? And why doesn't it work for the zeroes?

As descirbed by [the documentation of 
`@Stable`](https://cr.openjdk.org/~jrose/jvm/Stable.html), a 0 value may be 
interpreted as "uncomputed" for lazy values, and the compiler will refuse to 
inline this value.  As a result, in #26341, the 0 constants in arrays are 
explicitly rewritten instead.

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

PR Comment: https://git.openjdk.org/jdk/pull/26792#issuecomment-3206842333

Reply via email to