Review Request: 8001533: Java launcher must launch JavaFX applications
David DeHaven
david.dehaven at oracle.com
Wed Nov 14 17:43:12 UTC 2012
Bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8001533
Webrev:
http://cr.openjdk.java.net/~ddehaven/8001533/webrev.0/
This change adds support in the Java launcher to launch JavaFX applications directly (without the aid of launcher code injected by javafxpackager). This is accomplished by first checking if the JavaFX-Application-Class field is present in the jar manifest and if so (and a valid class) then that class is launched, otherwise Main-Class is used. Additionally, since JavaFX applications may not necessarily have a main method, if no main method is found then the main class (however specified or discovered) is checked to determine if it (eventually) extends javafx.application.Application and if so is launched via a helper class.
-DrD-
More information about the core-libs-dev
mailing list