On Wed, 28 Jan 2026 14:17:34 GMT, Stefan Karlsson <[email protected]> wrote:

> Does it print 'value' even if --enable-preview isn't specified on the command 
> line? If it does, is that the correct behavior?

I had the same thought. We do run the test with `--enable-preview` which is 
probably why the JBS issue was created. However, we should also ensure this 
passes without `--enable-preview`. I'll look into it if that's the case in 
reality. I think we should have two paths for the assertion, one for preview 
(`Arguments::is_valhalla_enabled`) and one without.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1989#issuecomment-3811709642

Reply via email to