-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
9
-
b157
-
linux, os_x, solaris
running "rmid" with JDKb157 is throwing the following runtime, but passes in JDKb156,
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.fs.UnixNativeDispatcher.getcwd()[B
at java.base/sun.nio.fs.UnixNativeDispatcher.getcwd(Native Method)
at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:66)
at java.base/sun.nio.fs.SolarisFileSystem.<init>(SolarisFileSystem.java:42)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:45)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:38)
at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:56)
at java.base/sun.nio.fs.SolarisFileSystemProvider.<init>(SolarisFileSystemProvider.java:40)
at java.base/sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:41)
at java.base/java.io.FilePermission.<clinit>(FilePermission.java:206)
at java.base/java.lang.SecurityManager.checkRead(SecurityManager.java:899)
at java.base/java.io.File.exists(File.java:815)
at java.base/java.lang.ClassLoader$2.run(ClassLoader.java:2513)
at java.base/java.lang.ClassLoader$2.run(ClassLoader.java:2510)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2509)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2478)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:873)
at java.base/java.lang.System.loadLibrary(System.java:1818)
at java.base/sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:611)
at java.base/sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:609)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.fs.UnixNativeDispatcher.<clinit>(UnixNativeDispatcher.java:609)
at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:66)
at java.base/sun.nio.fs.SolarisFileSystem.<init>(SolarisFileSystem.java:42)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:45)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:38)
at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:56)
at java.base/sun.nio.fs.SolarisFileSystemProvider.<init>(SolarisFileSystemProvider.java:40)
at java.base/sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:41)
at java.base/java.nio.file.FileSystems.<clinit>(FileSystems.java:91)
at java.base/java.nio.file.Paths.get(Paths.java:84)
at java.base/jdk.internal.jimage.ImageReaderFactory.<clinit>(ImageReaderFactory.java:50)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.net.www.protocol.jrt.JavaRuntimeURLConnection.<clinit>(JavaRuntimeURLConnection.java:59)
at java.base/sun.net.www.protocol.jrt.Handler.openConnection(Handler.java:42)
at java.base/java.net.URL.openConnection(URL.java:1049)
at java.base/jdk.internal.module.SystemModuleFinder$ImageModuleReader.checkPermissionToConnect(SystemModuleFinder.java:287)
at java.base/jdk.internal.module.SystemModuleFinder$ImageModuleReader.<init>(SystemModuleFinder.java:296)
at java.base/jdk.internal.module.SystemModuleFinder$1.get(SystemModuleFinder.java:245)
at java.base/jdk.internal.module.SystemModuleFinder$1.get(SystemModuleFinder.java:242)
at java.base/jdk.internal.module.ModuleReferenceImpl.open(ModuleReferenceImpl.java:83)
at java.base/jdk.internal.loader.BuiltinClassLoader.createModuleReader(BuiltinClassLoader.java:934)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1719)
at java.base/jdk.internal.loader.BuiltinClassLoader.moduleReaderFor(BuiltinClassLoader.java:926)
at java.base/jdk.internal.loader.BuiltinClassLoader.access$100(BuiltinClassLoader.java:92)
at java.base/jdk.internal.loader.BuiltinClassLoader$1.run(BuiltinClassLoader.java:356)
at java.base/jdk.internal.loader.BuiltinClassLoader$1.run(BuiltinClassLoader.java:351)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/jdk.internal.loader.BuiltinClassLoader.findMiscResource(BuiltinClassLoader.java:350)
at java.base/jdk.internal.loader.BuiltinClassLoader.findResources(BuiltinClassLoader.java:311)
at java.base/jdk.internal.loader.BootLoader.findResources(BootLoader.java:156)
at java.base/java.lang.ClassLoader.getResources(ClassLoader.java:1430)
at java.base/java.lang.ClassLoader.getResources(ClassLoader.java:1428)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1082)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.access$1200(ServiceLoader.java:1004)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1131)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1130)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1133)
at java.base/java.util.ServiceLoader$1.hasNext(ServiceLoader.java:1163)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1258)
at java.base/java.nio.channels.spi.SelectorProvider.loadProviderAsService(SelectorProvider.java:122)
at java.base/java.nio.channels.spi.SelectorProvider.access$200(SelectorProvider.java:69)
at java.base/java.nio.channels.spi.SelectorProvider$1.run(SelectorProvider.java:180)
at java.base/java.nio.channels.spi.SelectorProvider$1.run(SelectorProvider.java:176)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.nio.channels.spi.SelectorProvider.provider(SelectorProvider.java:175)
at java.base/java.lang.System.inheritedChannel(System.java:276)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1960)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1958)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.server.Activation.main(Activation.java:1957)
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.nio.fs.UnixNativeDispatcher.getcwd()[B
at java.base/sun.nio.fs.UnixNativeDispatcher.getcwd(Native Method)
at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:66)
at java.base/sun.nio.fs.SolarisFileSystem.<init>(SolarisFileSystem.java:42)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:45)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:38)
at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:56)
at java.base/sun.nio.fs.SolarisFileSystemProvider.<init>(SolarisFileSystemProvider.java:40)
at java.base/sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:41)
at java.base/java.io.FilePermission.<clinit>(FilePermission.java:206)
at java.base/java.lang.SecurityManager.checkRead(SecurityManager.java:899)
at java.base/java.io.File.exists(File.java:815)
at java.base/java.lang.ClassLoader$2.run(ClassLoader.java:2513)
at java.base/java.lang.ClassLoader$2.run(ClassLoader.java:2510)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2509)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2478)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:873)
at java.base/java.lang.System.loadLibrary(System.java:1818)
at java.base/sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:611)
at java.base/sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:609)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.fs.UnixNativeDispatcher.<clinit>(UnixNativeDispatcher.java:609)
at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:66)
at java.base/sun.nio.fs.SolarisFileSystem.<init>(SolarisFileSystem.java:42)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:45)
at java.base/sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:38)
at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:56)
at java.base/sun.nio.fs.SolarisFileSystemProvider.<init>(SolarisFileSystemProvider.java:40)
at java.base/sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:41)
at java.base/java.nio.file.FileSystems.<clinit>(FileSystems.java:91)
at java.base/java.nio.file.Paths.get(Paths.java:84)
at java.base/jdk.internal.jimage.ImageReaderFactory.<clinit>(ImageReaderFactory.java:50)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.net.www.protocol.jrt.JavaRuntimeURLConnection.<clinit>(JavaRuntimeURLConnection.java:59)
at java.base/sun.net.www.protocol.jrt.Handler.openConnection(Handler.java:42)
at java.base/java.net.URL.openConnection(URL.java:1049)
at java.base/jdk.internal.module.SystemModuleFinder$ImageModuleReader.checkPermissionToConnect(SystemModuleFinder.java:287)
at java.base/jdk.internal.module.SystemModuleFinder$ImageModuleReader.<init>(SystemModuleFinder.java:296)
at java.base/jdk.internal.module.SystemModuleFinder$1.get(SystemModuleFinder.java:245)
at java.base/jdk.internal.module.SystemModuleFinder$1.get(SystemModuleFinder.java:242)
at java.base/jdk.internal.module.ModuleReferenceImpl.open(ModuleReferenceImpl.java:83)
at java.base/jdk.internal.loader.BuiltinClassLoader.createModuleReader(BuiltinClassLoader.java:934)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1719)
at java.base/jdk.internal.loader.BuiltinClassLoader.moduleReaderFor(BuiltinClassLoader.java:926)
at java.base/jdk.internal.loader.BuiltinClassLoader.access$100(BuiltinClassLoader.java:92)
at java.base/jdk.internal.loader.BuiltinClassLoader$1.run(BuiltinClassLoader.java:356)
at java.base/jdk.internal.loader.BuiltinClassLoader$1.run(BuiltinClassLoader.java:351)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/jdk.internal.loader.BuiltinClassLoader.findMiscResource(BuiltinClassLoader.java:350)
at java.base/jdk.internal.loader.BuiltinClassLoader.findResources(BuiltinClassLoader.java:311)
at java.base/jdk.internal.loader.BootLoader.findResources(BootLoader.java:156)
at java.base/java.lang.ClassLoader.getResources(ClassLoader.java:1430)
at java.base/java.lang.ClassLoader.getResources(ClassLoader.java:1428)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1082)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.access$1200(ServiceLoader.java:1004)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1131)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1130)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1133)
at java.base/java.util.ServiceLoader$1.hasNext(ServiceLoader.java:1163)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1258)
at java.base/java.nio.channels.spi.SelectorProvider.loadProviderAsService(SelectorProvider.java:122)
at java.base/java.nio.channels.spi.SelectorProvider.access$200(SelectorProvider.java:69)
at java.base/java.nio.channels.spi.SelectorProvider$1.run(SelectorProvider.java:180)
at java.base/java.nio.channels.spi.SelectorProvider$1.run(SelectorProvider.java:176)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.nio.channels.spi.SelectorProvider.provider(SelectorProvider.java:175)
at java.base/java.lang.System.inheritedChannel(System.java:276)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1960)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1958)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.server.Activation.main(Activation.java:1957)
- duplicates
-
JDK-8175079 Lazy initialization of ImageReader breaks rmid
- Closed