On Tue, 18 Aug 2026 12:13:55 GMT, Chen Liang <[email protected]> wrote:

> To be exact, the array component type, instead of each individual array 
> component, is not necessarily initialized.

It's both :-). For `a = T[N]`, `T` is not initialized, this is standard JVM 
spec. `forall 0 <= i < N. a[i]` is also not initialized, that's not standard 
behavior and is unsafe.

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

PR Comment: https://git.openjdk.org/jdk/pull/32193#issuecomment-5328503010

Reply via email to