[lworld] several javac tests are failing in valhalla

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: