Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33163 Support Java 21 (LTS)
  3. FLINK-33321

VertexFlameGraphFactoryTest#verifyRecursively fails on Java 21

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.19.0
    • None

    Description

      With jdk 21 it fails as

      java.lang.AssertionError: No lambdas encountered in the test, cleanup functionality was not tested
      
      	at org.apache.flink.runtime.webmonitor.threadinfo.VertexFlameGraphFactoryTest.testLambdaClassNamesCleanUp(VertexFlameGraphFactoryTest.java:54)
      	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
      

      Attachments

        Activity

          People

            Sergey Nuyanzin Sergey Nuyanzin
            Sergey Nuyanzin Sergey Nuyanzin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: