these tests are failing:
test/langtools/tools/javac/lambda/FunctionalInterfaceConversionTest.java
test/langtools/tools/javac/lambda/TestLambdaToMethodStats.java
test/langtools/tools/javac/multicatch/7030606/DisjunctiveTypeWellFormednessTest.java
test/langtools/tools/javac/records/LocalStaticDeclarations.java
test/langtools/tools/javac/varargs/warning/Warn5.java
the fix is to add the @enablePreview to them, it is not that they use any preview feature but they use a library that instead uses Optional which is considered a value class
test/langtools/tools/javac/lambda/FunctionalInterfaceConversionTest.java
test/langtools/tools/javac/lambda/TestLambdaToMethodStats.java
test/langtools/tools/javac/multicatch/7030606/DisjunctiveTypeWellFormednessTest.java
test/langtools/tools/javac/records/LocalStaticDeclarations.java
test/langtools/tools/javac/varargs/warning/Warn5.java
the fix is to add the @enablePreview to them, it is not that they use any preview feature but they use a library that instead uses Optional which is considered a value class