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

[lworld] several javac tests are failing in valhalla

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      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

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: