Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Check multiple inheritance from subinterfaces #46

Open
lmove opened this issue Oct 1, 2019 · 0 comments
Open

Check multiple inheritance from subinterfaces #46

lmove opened this issue Oct 1, 2019 · 0 comments
Labels
question Further information is requested

Comments

@lmove
Copy link
Contributor

lmove commented Oct 1, 2019

Check what happens with the following case (and others related to multiple inheritance of subinterfaces):

public interface I {
     int m();
}
public interface J extends I {
     int m();
}
public class C implements I, J {
     [...]
}

If in a newer version of the API we get:

public interface J extends I {
     default int m() {
          return 0;
     }
}

Add tests and needed tweaks.

Affected changes: methodNewDefault, methodAbstractNowDefault

@lmove lmove added the question Further information is requested label Oct 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant