You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/10/02 08:34:04 UTC

[GitHub] aljoscha opened a new pull request #6784: [FLINK-7811] Add support for Scala 2.12

aljoscha opened a new pull request #6784: [FLINK-7811] Add support for Scala 2.12
URL: https://github.com/apache/flink/pull/6784
 
 
   This is the first batch of changes on the way to Scala 2.12 support. All these changes are necessary to make the Scala 2.12 compiler happy and I also updated the `ClosureCleaner` to be able to work with Scala 2.12.
   
   This does not yet change the Scala version to 2.12 but I have a work-in-progress branch that does that and these changes are the first batch of changes that are valid both for Scala 2.11 and necessary for Scala 2.12.
   
   This adds a dependency:
   ```
   <!-- This artifact is a shaded version of ASM 6.x. The POM that was used to produce this
   is at https://github.com/apache/geronimo-xbean/tree/trunk/xbean-asm6-shaded
   For context on why we shade ASM, see SPARK-782 and SPARK-6152. -->
   <dependency>
       <groupId>org.apache.xbean</groupId>
       <artifactId>xbean-asm6-shaded</artifactId>
       <version>4.8</version>
   </dependency>
   ```
   
   It's required to make the ClosureCleaner work with Scala 2.12 lambdas. It's convenient because it's already there but we can also make our own `flink-shaded` release of ASM 6.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services