[lworld] runtime/cds/appcds/RewriteBytecodesInlineTest.java fails because of missing preview mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      runtime/cds/appcds/RewriteBytecodesInlineTest.java fails with:
      result: Failed. Execution failed: `main' threw exception: java.lang.UnsupportedClassVersionError: Preview features are not enabled for jdk/test/lib/process/OutputBuffer (class file version 67.65535). Try running with '--enable-preview'

      This is caused by a recent change in jtreg which now doesn't pass the --enable-preview flag to the test VM when the jtreg @run tag is 'driver'.

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

              Created:
              Updated:
              Resolved: