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

ConnectionHolder uses sun.misc.Cleaner

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: