fork(1) download
  1. class Ideone {
  2. public static void main (String[] args) throws java.lang.Exception {
  3.  
  4. }
  5.  
  6. static class Foo implements Bar, Baz {
  7. public String m() {
  8. return Bar.super.m();
  9. }
  10. }
  11.  
  12. interface Bar {
  13. default String m() { return "Hello"; }
  14. }
  15.  
  16. interface Baz extends Bar {}
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:8: error: bad type qualifier Bar in default super call
			return Bar.super.m();
			          ^
  redundant interface Bar is extended by Baz
1 error
stdout
Standard output is empty