JDK-8242531 : [macos] JavaFX OSXPlatform tries to load nonexistent libjfxmedia_qtkit
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u171,9,openjfx11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2020-04-11
  • Updated: 2021-12-21
  • Resolved: 2021-07-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8u321Fixed openjfx18Fixed
Related Reports
Relates :  
Relates :  
Description
The QuickTime-based media player on macOS was removed by JDK-8145602. However, there are still a couple lingering references that weren't removed, one of which is an attempt to load the now-nonexistent libjfxmedia_qtkit library. You can see this if you run any Media program on Mac with the "-Djavafx.verbose=true" flag:

WARNING: java.lang.UnsatisfiedLinkError: Can't load library: <SDK>/lib/libjfxmedia_qtkit.dylib

The source of the problem is here:

https://github.com/openjdk/jfx/blob/master/modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/platform/osx/OSXPlatform.java#L87

This isn't causing any real problems, but would be good cleanup.

Comments
Changeset: ba61a173 Author: Alexander Matveev <almatvee@openjdk.org> Date: 2021-07-30 22:05:04 +0000 URL: https://git.openjdk.java.net/jfx/commit/ba61a17307d48d373fd8faa169ed16821e81c0fd
30-07-2021