Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33543

Move Java 17-specific code into its own module to please Intellij

    XMLWordPrintableJSON

Details

    Description

      FLINK-32380 introduced support for Java records (which are introduced in Java 14). Test classes were added and included via Maven profiles. This works on the command line. Intellij runs into issues though when build flink-core.

      snuyanzin filed IDEA-338060 to cover this issue.

      A workaround on the Flink side is to have a dedicated module for Java 17 code (more specifically the test classes which use Java record). This would make flink-core compilable again. The newly introduced module can be enabled for the java17 profile.

      Attachments

        Activity

          People

            mapohl Matthias Pohl
            mapohl Matthias Pohl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: