The fix for [JDK-8377657](https://bugs.openjdk.org/browse/JDK-8377657) was incomplete: Although we should ignore array properties when `--enable-preview` is not set, we should still return a valid refined array and not a non-refined array with invalid properties.
I also removed the guarantee because we have the same check already in `klass_with_properties`. I'm omitting a regression test because these ci-replay tests are always a bit brittle. Thanks, Tobias --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8384853 Changes: https://git.openjdk.org/valhalla/pull/2447/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2447&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8384853 Stats: 6 lines in 1 file changed: 0 ins; 3 del; 3 mod Patch: https://git.openjdk.org/valhalla/pull/2447.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2447/head:pull/2447 PR: https://git.openjdk.org/valhalla/pull/2447
