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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-valhalla
    • 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'.

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

              Created:
              Updated:
              Resolved: