RFR: Attribution not setting strict array creation flag

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Jan 13 10:20:25 UTC 2026


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`.

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

Commit messages:
 - Drop spurious changes
 - Fix issue with Attr not setting strict array creation flag

Changes: https://git.openjdk.org/valhalla/pull/1894/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1894&range=00
  Stats: 7 lines in 1 file changed: 6 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/1894.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1894/head:pull/1894

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


More information about the valhalla-dev mailing list