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

Christian Hagedorn chagedorn at openjdk.org
Thu Feb 12 08:31:27 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

This pull request has now been integrated.

Changeset: 730a61e5
Author:    Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/730a61e57c97b35d14380b12851dff24dd4d903b
Stats:     7 lines in 1 file changed: 5 ins; 0 del; 2 mod

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

Reviewed-by: thartmann

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

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


More information about the valhalla-dev mailing list