8248122: java.base should not handle JavaFX application in a specific way

Kevin Rushforth kevin.rushforth at oracle.com
Sat Oct 31 16:22:50 UTC 2020


As mentioned in the pull request, this cannot be done as proposed 
without causing a behavioral regression and breaking JavaFX 
applications. If done, it should be done carefully using a similar 
process to the deprecate-for-removal in one release (to give 
applications time to react and adapt) and then remove in a future release.

Before getting into a discussion of how to do it, though, can you say 
more about the reasons you want to do it?

-- Kevin


On 10/31/2020 9:05 AM, Kartik Ohri wrote:
> 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



More information about the core-libs-dev mailing list