I\'m encountering a bug in the Java compiler where the order of files submitted for compilation can cause code not to compile. I\'ve drilled down the code to isolate the sma
I played around, and found that adding simple cast:
public static void main(String[] args) { ((ActionSpec)Actions.SKIP).run("hello"); }
solves this problem. Passing this enum as method parameter as interface would also do the trick