[lworld] RFR: 8374115: [lworld] test_classPrinter.cpp fails with Valhalla

Paul Hübner phubner at openjdk.org
Wed Jan 28 14:46:45 UTC 2026


On Wed, 28 Jan 2026 14:17:34 GMT, Stefan Karlsson <stefank at openjdk.org> 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


More information about the valhalla-dev mailing list