This compiles in Eclipse JDT, but not on 1.6.30 or 1.7.25:
package doh; import static doh.Wtf.InnerClass.innerclassMethod; import java.io.Serializable; public class Wtf { static class InnerClass implements Serializable { public static void innerclassMethod() { } } }
With javac, I get the following compilation error:
error: cannot find symbol static class InnerClass implements Serializable { symbol: class Serializable location: class Wtf
Commenting out excess static import, code compilation. So reordering import statements.
java
slackhacker
source share