evaluation for bug: https://bugs.openjdk.java.net/browse/JDK-8059921

Vicente-Arturo Romero-Zaldivar vicente.romero at oracle.com
Wed Oct 22 21:30:48 UTC 2014


Hi Alex,

I would like to know your opinion about the bug in the subject. The 
related code is:

interface T2 { int f = 0; }

interface T extends T2 { int f = 0; }

class X  implements T {
     int i = T.super.f;
}

The reporter considers that JLS 15.11.2 doesn't mention interfaces 
explicitly and that for this reason this is a bug. Should the spec be 
read more generally, thus including interfaces?

Thanks,
Vicente


More information about the compiler-dev mailing list