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)
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
- relates to
-
JDK-8148117 Move sun.misc.Cleaner to jdk.internal.ref
-
- Resolved
-
-
JDK-8158584 ConnectionHolder uses sun.misc.Cleaner
-
- Closed
-