An unintended interaction

Brian Goetz brian.goetz at
Tue Oct 29 17:00:13 PDT 2013

If you have:

   public interface Foo {
     public static void main(String[] args) {

you can say
   java Foo

and it will run.  Is that what we intended?  Should the java launcher 
detect this and not look for main() methods in interfaces?

More information about the lambda-spec-experts mailing list