-
-
Notifications
You must be signed in to change notification settings - Fork 195
Closed
Description
Consider the following:
trait T {
static m() { 'T' }
}
class C implements T {
}
print C.m()
print T.m()Should print "T" when compiled and executed followed by MissingMethodException. Also, Java sources should behave as follows:
public class J {
static void main(String[] args) {
System.out.print(C.m()); // should output "T"
System.out.print(T.m()); // should not be found
}
}