Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8250381 | jfx16 | Kevin Rushforth | P2 | Resolved | Fixed | |
JDK-8252344 | jfx11.0.9 | Kevin Rushforth | P2 | Resolved | Fixed |
When running a JavaFX application using the JavaFX modules from maven central, the native libraries are packed into the jar file, and then unpacked as needed by the JavaFX runtime. This fails for libavplugin-ffmpeg-58.so.
To reproduce this, run any media program using the modules from maven central on an Ubuntu 20.04 system that has the libavformat58 / libavcodec58 packages installed. The FX media library will fail to load the libavplugin-ffmpeg-58 support library.
When support for libav 58 was added byJDK-8215894, the new libavplugin-ffmpeg-58 library was not added to the list of dependent libraries of jfxmedia in NativeMediaManager.java. See:
https://github.com/openjdk/jfx/blob/14-ga/modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java#L118
To reproduce this, run any media program using the modules from maven central on an Ubuntu 20.04 system that has the libavformat58 / libavcodec58 packages installed. The FX media library will fail to load the libavplugin-ffmpeg-58 support library.
When support for libav 58 was added by
https://github.com/openjdk/jfx/blob/14-ga/modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java#L118
- backported by
-
JDK-8250381 Media fails to load libav 58 library when using modules from maven central
- Resolved
-
JDK-8252344 Media fails to load libav 58 library when using modules from maven central
- Resolved
- relates to
-
JDK-8215894 Provide media support for libav version 58
- Resolved