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

javafx.media classes directly reference platform classes that are excluded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, openjfx11, openjfx12
    • Fix Version/s: openjfx13
    • Component/s: javafx
    • Labels:

      Description

      The following shared code in javafx.media directly references a platform-specific class, which is available at compile-time, but then is excluded from the delivered module by the build. We do this for other platform-specific classes, but they are all loaded by reflection.

      com/sun/media/jfxmediaimpl/platform/PlatformManager.java

              if (HostUtils.isIOS() && isPlatformEnabled("IOSPlatform")) {
                  platty = IOSPlatform.getPlatformInstance();
                  if (null != platty) {
                      platforms.add(platty);
                  }
              }

      See JDK-8211887 for at least one problem that this causes.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: