RFR: 8222455: JavaFX error loading glass.dll from cache

Johan Vos jvos at openjdk.java.net
Sat Oct 30 20:40:26 UTC 2021


On Sat, 30 Oct 2021 14:46:50 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> > Perhaps it would also be a good idea to move these files to the user's temporary directory, so that they can be cleaned up by the system. Otherwise they probably won't be removed in most cases when the user removes the application that created them.
> 
> Maybe. If so, this would need to be done as part of a separate bug fix.

I don't think that would be needed. We currently use the same approach as maven, and have a "permanent" cache for artifacts. There is a difference between the JavaFX libraries and application-specific components. The JavaFX jars are not linked to a specific application, but can be used by a number of applications (at build time as well as at runtime). 
I agree that application-specific components need to be removed (when possible) from the user's storage, but that is at runtime, and only when these components are only used by the specific application.

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

PR: https://git.openjdk.java.net/jfx/pull/654


More information about the openjfx-dev mailing list