Hi! JavaFX is no longer a part of OpenJDK. It does not make sense to treat it specially in the JDK. Hence, as suggested in JDK- <https://bugs.openjdk.java.net/browse/JDK-8248122>8248122 <https://bugs.openjdk.java.net/browse/JDK-8248122>, the Launcher class should be refactored to remove the JavaFX specific handling code. Accordingly, I have proposed a patch here <https://github.com/openjdk/jdk/pull/978>.
All suggestions are welcome. Thank you. Regards, Kartik