Review Request: make caching of native libs more robust
johan.vos at gluonhq.com
Tue Nov 27 17:53:32 UTC 2018
An easy to reproduce issue is to change permissions on the cache dir used
by Javafx for storing native libs.
If JavaFX can't write anymore to that cache dir, applications will fail
since all pipelines use native code.
The fix at https://github.com/javafxports/openjdk-jfx/pull/300 makes the
caching mechanism more robust, with a fallback to the tmp dir, and with the
option to always override the location of the cache dir.
Note: In the end, I still hope this is something that can be provide by the
JDK itself (extracting native code from jars or jmods and storing it). For
now, we probably just want to make the system more robust.
More information about the openjfx-dev