[jira] [Created] (FLINK-13647) Allow default methods and static methods to be added to public interfaces

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13647) Allow default methods and static methods to be added to public interfaces

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-13647:
-------------------------------------

             Summary: Allow default methods and static methods to be added to public interfaces
                 Key: FLINK-13647
                 URL: https://issues.apache.org/jira/browse/FLINK-13647
             Project: Flink
          Issue Type: Improvement
          Components: Build System
    Affects Versions: 1.9.0, 1.10.0
            Reporter: Till Rohrmann
             Fix For: 1.10.0


Since Java 8, it is possible to extend interfaces by adding default methods and static methods. Flink's current japicmp plugin won't allow this and complains with a {{METHOD_ADDED_TO_INTERFACE}}.

I think we should allow this in order to extend existing public interfaces. There is also a japicmp issue which addresses this problem: https://github.com/siom79/japicmp/issues/201.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)