[lworld] RFR: 8374115: [lworld] test_classPrinter.cpp fails with Valhalla
Casper Norrbin
cnorrbin at openjdk.org
Wed Jan 28 15:12:10 UTC 2026
On Wed, 28 Jan 2026 14:43:32 GMT, Paul Hübner <phubner 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?
It does print `value` both with and without `--enable-preview`. `AccessFlags::print_on` will always print `value`/`identity` even if Valhalla is not enabled. I am not sure how correct that is. The `classPrinter` is intended for debugging and a developer feature, so it might be best to have the print consistent. But at the same time, the extra printing has no meaning without Valhalla enabled.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1989#issuecomment-3811837199
More information about the valhalla-dev
mailing list