[lworld] RFR: 8377657: [lworld] Compiler replay segfaults when replay compiling without --enable-preview

Tobias Hartmann thartmann at openjdk.org
Wed Feb 11 10:29:06 UTC 2026


On Wed, 11 Feb 2026 10:15:13 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> Replay compilation fails when a compiler replay file is run without `--enable-preview`. The reason is that with the current logic, we skip parsing the additionally added `array_properties` when not running with `--enable-preview`. We should parse it unconditionally and only then decide whether we need to process it (with preview) or not (without preview).
> 
> Thanks,
> Christian

Looks good to me.

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

Marked as reviewed by thartmann (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/2078#pullrequestreview-3783967236


More information about the valhalla-dev mailing list