Default methods and interfaces extending other interfaces
This is exactly addressed by the JLS in 15.12.3. “Compile-Time Step 3: Is the Chosen Method Appropriate?”. If the form is TypeName . super . [TypeArguments] Identifier, then: […] If TypeName denotes an interface, let T be the type declaration immediately enclosing the method invocation. A compile-time error occurs if there exists a method, distinct … Read more