-
Bug
-
Resolution: Fixed
-
P3
-
repo-valhalla
Test fails with message:
test/hotspot/jtreg/runtime/clinit/ClassInitBarrier.java:70: error: value classes are a preview feature and are disabled by default.
static value class MyValue {
^
(use --enable-preview to enable value classes)
1 error
result: Failed. Compilation failed: Compilation failed
This is caused by a missing --enable-preview flag.
test/hotspot/jtreg/runtime/clinit/ClassInitBarrier.java:70: error: value classes are a preview feature and are disabled by default.
static value class MyValue {
^
(use --enable-preview to enable value classes)
1 error
result: Failed. Compilation failed: Compilation failed
This is caused by a missing --enable-preview flag.