Since the Java 8 launcher now calls main(Strin []args]) if present, what is
the expected behaviour of this code?:

import javafx.application.Application;
import javafx.stage.Stage;

public class Main extends Application {

    public static void main(String [] args) {
        System.out.println("Hi mom!");
    }

    @Override
    public void start(Stage stage) throws Exception {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}



For me it prints the "Hi mom!" message and hangs.   Since there is no
showing Stage, I would expect it to exit.   Shall I file a bug?


Scott

Reply via email to