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

Eliminate use of sun.nio.ch.DirectBuffer in javafx.media

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • jfx11
    • jfx11, 9, 10
    • javafx

    Description

      The javafx.media module has a dependency on sun.nio.ch.DirectBuffer and jdk.internal.ref.Cleaner, both of which are internal classes. The following code is to blame:

              public void closeConnection() {
                  ...
                  if (buffer instanceof DirectBuffer) {
                      ((DirectBuffer) buffer).cleaner().clean();
                  }
              }

      In an effort to eliminate the use of internal packages from core module by javafx.* modules we need an alternative solution.

      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: