Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The ClosureCleaner doesn't work on Java 11; we have to jump to ASM 7.0+ which officially added support for it.

      java.lang.UnsupportedOperationException
      	at org.apache.flink.shaded.asm6.org.objectweb.asm.ClassVisitor.visitNestHostExperimental(ClassVisitor.java:158)
      	at org.apache.flink.shaded.asm6.org.objectweb.asm.ClassReader.accept(ClassReader.java:541)
      	at org.apache.flink.shaded.asm6.org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
      	at org.apache.flink.api.java.ClosureCleaner.cleanThis0(ClosureCleaner.java:187)
      	at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:100)
      	at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:71)
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.clean(StreamExecutionEnvironment.java:1574)
      

      https://github.com/eclipse/jetty.project/issues/2941
      https://gitlab.ow2.org/asm/asm/issues/317854

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment