Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242531

[macos] JavaFX OSXPlatform tries to load nonexistent libjfxmedia_qtkit

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 8u171, 9, openjfx11
    • openjfx18
    • javafx
    • os_x

    Backports

      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.

        Attachments

          Issue Links

            Activity

              People

                almatvee Alexander Matveev
                kcr Kevin Rushforth
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: