Integrated: Attribution not setting strict array creation flag

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Jan 13 14:31:43 UTC 2026


On Tue, 13 Jan 2026 10:13:40 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> In a last minute change, I moved the code that sets the strict flag for array creation inside the logic that validates the non-nullable array creation.
> Since this logic only applies to arrays w/o an initializer, now all arrays with an initializer will not have the strict flag set, and their translation won't use `ArrayCreation`.

This pull request has now been integrated.

Changeset: 68c6b6ad
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/68c6b6ad93f542e661bf9df664d4d465d8d547e3
Stats:     7 lines in 1 file changed: 6 ins; 1 del; 0 mod

Attribution not setting strict array creation flag

Reviewed-by: vromero

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

PR: https://git.openjdk.org/valhalla/pull/1894


More information about the valhalla-dev mailing list