Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8328636

[lworld] runtime/clinit/ClassInitBarrier.java fails because of a compilation error

      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.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: