You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2019/08/08 08:42:00 UTC
[jira] [Created] (FLINK-13647) Allow default methods and static
methods to be added to public interfaces
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)