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

IllegalAccessError: javafx.media cannot access jdk.internal.ref

    XMLWordPrintable

    Details

      Description

      java.lang.IllegalAccessError: class com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder (in module javafx.media) cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to module javafx.media
      at com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.closeConnection(javafx.media@9-ea/ConnectionHolder.java:234)
      at test.sun.media.jfxmedia.locator.ConnectionHolderTestCloseConnection.runTest(ConnectionHolderTestCloseConnection.java:43)
      at mts.java.AbstractTest.start(AbstractTest.java:87)
      at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(javafx.graphics@9-ea/LauncherImpl.java:842)
      at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(javafx.graphics@9-ea/PlatformImpl.java:346)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$5(javafx.graphics@9-ea/PlatformImpl.java:315)
      at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(javafx.graphics@9-ea/PlatformImpl.java:314)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(javafx.graphics@9-ea/InvokeLaterDispatcher.java:96)
      at com.sun.glass.ui.win.WinApplication._runLoop(javafx.graphics@9-ea/Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(javafx.graphics@9-ea/WinApplication.java:191)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                mrkam Alexander Kuznetcov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: