ConnectionHolder uses sun.misc.Cleaner

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: javafx
    • None

      JavaFX media ConnectionHolder is using sun.misc.Cleaner and does not have an export that allows for its use with Jigsaw.

      This is a hidden failure with the current build, and a fatal error with a full JIGSAW build (currently using some side scripts for that).

      modules/javafx.media/src/main/java/com/sun/media/jfxmedia/locator/ConnectionHolder.java:233: warning: DirectBuffer is internal proprietary API and may be removed in a future release
                  if (buffer instanceof DirectBuffer) {
                                        ^
      modules/javafx.media/src/main/java/com/sun/media/jfxmedia/locator/ConnectionHolder.java:234: warning: DirectBuffer is internal proprietary API and may be removed in a future release
                      ((DirectBuffer) buffer).cleaner().clean();
                        ^
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      3 warnings

      ### building javafx.web

      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      [ddhill@ddhpad rt]$ $JIGSAW_HOME/bin/java -version
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+121)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+121, mixed mode)

            Assignee:
            Unassigned
            Reporter:
            David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: