On Tue, 15 Oct 2024 20:26:29 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:

> With the restructuring to make the dependency optional at runtime, this seems 
> like a reasonable approach to consider. I also want to make sure that we 
> don't initialize the AWT toolkit unless an application tries to load an image 
> file of a format that JavaFX doesn't support. It will take some time to 
> review and test it.

Independent of whether loading `ImageIO` will initialize AWT, I've modified the 
code such that `ImageIO` will only ever be loaded if we encounter an image 
format that JavaFX can't load.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1593#issuecomment-2416986066

Reply via email to