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

javafx.media classes directly reference platform classes that are excluded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jfx13
    • jfx11, jfx12, 9, 10
    • javafx

    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

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

              Dates

                Created:
                Updated:
                Resolved: