A microbenchmark with --enable-preview was added in JDK-8248135. This had the unintended side effect that we now had to always run with --enable-preview.
With records out of preview, I think the best course of action now is to not build the micros with preview enabled, and leave it for a future RFE to figure out how to add proper support for preview features. ------------- Commit messages: - Drop --enable-preview from microbenchmarks Changes: https://git.openjdk.java.net/jdk/pull/914/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=914&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8250669 Stats: 3 lines in 2 files changed: 0 ins; 1 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/914.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/914/head:pull/914 PR: https://git.openjdk.java.net/jdk/pull/914