Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/4655
  
    A local build of `mvn clean verify` fails for me because the japicmp plugin 
is complaining. The relevant section of the diff output from japicmp is
    ```
    ***! MODIFIED CLASS: PUBLIC org.apache.flink.streaming.api.scala.DataStream 
 (not serializable)
        ---! REMOVED METHOD: PUBLIC(-) boolean iterate$default$3()
        +++  NEW METHOD: PUBLIC(+) 
org.apache.flink.streaming.api.scala.DataStream setMaxParallelism(int)
        ***  MODIFIED ANNOTATION: scala.reflect.ScalaSignature
    ```
    
    i.e. it's complaining about `iterate$default$3()`. The problem seems to be 
that Scala will generate some obfuscated method name for the `iterate()` method 
and the `@PublicEvolving` annotation is not properly applied to that. I tried 
playing around with the japicmp config in the root pom file but to no avail. 
Maybe you can find something that works.
    
    What I added is this:
    ```                                                 
<exclude>org.apache.flink.streaming.api.scala.DataStream#iterate$default$3()</exclude>
    ```
    
    but it seems that doesn't work.


---

Reply via email to