GWT version: 2.8.2
Browser (with version): n/a
Operating System: n/a
Steps to reproduce
class Y {
int foo(){
return 42;
}
}
class X extends Y{
int foo(){
return 23;
}
int bar(){
Supplier<Integer> s = X.super::foo; // reference to Y.foo
return s.get();
}
}
Next code snippet returns 23 instead of 42:
Known workarounds
Replace method reference with lambda or anonymous class.