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

ConnectionHolder uses sun.misc.Cleaner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • None
    • None
    • javafx
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: