Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b82
-
Not verified
Description
Default methods can be called via A.super.m() to resolve conflicts where A is an interface with a default method m().
However, since static methods are not inherited, a call to static method via super should give a compiler error.
However, since static methods are not inherited, a call to static method via super should give a compiler error.
Attachments
Issue Links
- relates to
-
JDK-8005968 Write tests for static methods in interfaces
- Closed