Details
-
Bug
-
Resolution: Fixed
-
P4
-
17, 18
-
b23
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8277689 | 17.0.3-oracle | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
JDK-8277471 | 17.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b06 |
Description
$ CONF=linux-x86-server-fastdebug make test TEST=java/nio/file/spi/SetDefaultProvider.java
....
Output and diagnostic info for process 944520 was saved into 'pid-944520-output.log'
Error occurred during initialization of VM
java.lang.ExceptionInInitializerError
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.containsImageLocation(java.base@18-internal/SystemModuleFinders.java:446)
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.find(java.base@18-internal/SystemModuleFinders.java:457)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:497)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:277)
at jdk.internal.loader.BootLoader.findResource(java.base@18-internal/BootLoader.java:164)
at java.lang.Class.getResource(java.base@18-internal/Class.java:2957)
at java.lang.System.implSetSecurityManager(java.base@18-internal/System.java:420)
at java.lang.System.initPhase3(java.base@18-internal/System.java:2214)
Caused by: java.lang.UnsupportedOperationException
at java.nio.file.spi.FileSystemProvider.newFileChannel(java.base@18-internal/FileSystemProvider.java:535)
at java.nio.channels.FileChannel.open(java.base@18-internal/FileChannel.java:298)
at java.nio.channels.FileChannel.open(java.base@18-internal/FileChannel.java:357)
at jdk.internal.jimage.BasicImageReader.<init>(java.base@18-internal/BasicImageReader.java:106)
at jdk.internal.jimage.ImageReader$SharedImageReader.<init>(java.base@18-internal/ImageReader.java:229)
at jdk.internal.jimage.ImageReader$SharedImageReader.open(java.base@18-internal/ImageReader.java:243)
at jdk.internal.jimage.ImageReader.open(java.base@18-internal/ImageReader.java:67)
at jdk.internal.jimage.ImageReader.open(java.base@18-internal/ImageReader.java:71)
at jdk.internal.jimage.ImageReaderFactory$1.apply(java.base@18-internal/ImageReaderFactory.java:70)
at jdk.internal.jimage.ImageReaderFactory$1.apply(java.base@18-internal/ImageReaderFactory.java:67)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(java.base@18-internal/ConcurrentHashMap.java:1708)
at jdk.internal.jimage.ImageReaderFactory.get(java.base@18-internal/ImageReaderFactory.java:61)
at jdk.internal.jimage.ImageReaderFactory.getImageReader(java.base@18-internal/ImageReaderFactory.java:85)
at jdk.internal.module.SystemModuleFinders$SystemImage.<clinit>(java.base@18-internal/SystemModuleFinders.java:385)
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.containsImageLocation(java.base@18-internal/SystemModuleFinders.java:446)
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.find(java.base@18-internal/SystemModuleFinders.java:457)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:497)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:277)
at jdk.internal.loader.BootLoader.findResource(java.base@18-internal/BootLoader.java:164)
at java.lang.Class.getResource(java.base@18-internal/Class.java:2957)
at java.lang.System.implSetSecurityManager(java.base@18-internal/System.java:420)
at java.lang.System.initPhase3(java.base@18-internal/System.java:2214)
[2021-11-09T09:35:14.128465049Z] Waiting for completion for process 944520
[2021-11-09T09:35:14.128535920Z] Waiting for completion finished for process 944520
test SetDefaultProvider.testClassPathWithSecurityManager(): failure
java.lang.AssertionError: expected [true] but found [false]
at org.testng/org.testng.Assert.fail(Assert.java:99)
at org.testng/org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng/org.testng.Assert.assertTrue(Assert.java:45)
at org.testng/org.testng.Assert.assertTrue(Assert.java:55)
at SetDefaultProvider.testClassPathWithSecurityManager(SetDefaultProvider.java:131)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.testng/org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng/org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng/org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng/org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng/org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng/org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng/org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng/org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng/org.testng.TestRunner.privateRun(TestRunner.java:764)
....
Output and diagnostic info for process 944520 was saved into 'pid-944520-output.log'
Error occurred during initialization of VM
java.lang.ExceptionInInitializerError
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.containsImageLocation(java.base@18-internal/SystemModuleFinders.java:446)
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.find(java.base@18-internal/SystemModuleFinders.java:457)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:497)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:277)
at jdk.internal.loader.BootLoader.findResource(java.base@18-internal/BootLoader.java:164)
at java.lang.Class.getResource(java.base@18-internal/Class.java:2957)
at java.lang.System.implSetSecurityManager(java.base@18-internal/System.java:420)
at java.lang.System.initPhase3(java.base@18-internal/System.java:2214)
Caused by: java.lang.UnsupportedOperationException
at java.nio.file.spi.FileSystemProvider.newFileChannel(java.base@18-internal/FileSystemProvider.java:535)
at java.nio.channels.FileChannel.open(java.base@18-internal/FileChannel.java:298)
at java.nio.channels.FileChannel.open(java.base@18-internal/FileChannel.java:357)
at jdk.internal.jimage.BasicImageReader.<init>(java.base@18-internal/BasicImageReader.java:106)
at jdk.internal.jimage.ImageReader$SharedImageReader.<init>(java.base@18-internal/ImageReader.java:229)
at jdk.internal.jimage.ImageReader$SharedImageReader.open(java.base@18-internal/ImageReader.java:243)
at jdk.internal.jimage.ImageReader.open(java.base@18-internal/ImageReader.java:67)
at jdk.internal.jimage.ImageReader.open(java.base@18-internal/ImageReader.java:71)
at jdk.internal.jimage.ImageReaderFactory$1.apply(java.base@18-internal/ImageReaderFactory.java:70)
at jdk.internal.jimage.ImageReaderFactory$1.apply(java.base@18-internal/ImageReaderFactory.java:67)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(java.base@18-internal/ConcurrentHashMap.java:1708)
at jdk.internal.jimage.ImageReaderFactory.get(java.base@18-internal/ImageReaderFactory.java:61)
at jdk.internal.jimage.ImageReaderFactory.getImageReader(java.base@18-internal/ImageReaderFactory.java:85)
at jdk.internal.module.SystemModuleFinders$SystemImage.<clinit>(java.base@18-internal/SystemModuleFinders.java:385)
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.containsImageLocation(java.base@18-internal/SystemModuleFinders.java:446)
at jdk.internal.module.SystemModuleFinders$SystemModuleReader.find(java.base@18-internal/SystemModuleFinders.java:457)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:497)
at jdk.internal.loader.BuiltinClassLoader.findResource(java.base@18-internal/BuiltinClassLoader.java:277)
at jdk.internal.loader.BootLoader.findResource(java.base@18-internal/BootLoader.java:164)
at java.lang.Class.getResource(java.base@18-internal/Class.java:2957)
at java.lang.System.implSetSecurityManager(java.base@18-internal/System.java:420)
at java.lang.System.initPhase3(java.base@18-internal/System.java:2214)
[2021-11-09T09:35:14.128465049Z] Waiting for completion for process 944520
[2021-11-09T09:35:14.128535920Z] Waiting for completion finished for process 944520
test SetDefaultProvider.testClassPathWithSecurityManager(): failure
java.lang.AssertionError: expected [true] but found [false]
at org.testng/org.testng.Assert.fail(Assert.java:99)
at org.testng/org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng/org.testng.Assert.assertTrue(Assert.java:45)
at org.testng/org.testng.Assert.assertTrue(Assert.java:55)
at SetDefaultProvider.testClassPathWithSecurityManager(SetDefaultProvider.java:131)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.testng/org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng/org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng/org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng/org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng/org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng/org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng/org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng/org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng/org.testng.TestRunner.privateRun(TestRunner.java:764)
Attachments
Issue Links
- backported by
-
JDK-8277471 (fs) java/nio/file/spi/SetDefaultProvider.java fails on x86_32
-
- Resolved
-
-
JDK-8277689 (fs) java/nio/file/spi/SetDefaultProvider.java fails on x86_32
-
- Resolved
-
- relates to
-
JDK-8266345 (fs) Custom DefaultFileSystemProvider security related loops
-
- Closed
-
- links to
-
Commit openjdk/jdk17u/687dd877
-
Commit openjdk/jdk/0f463a7b
-
Review openjdk/jdk17u/269
-
Review openjdk/jdk/6307
(2 links to)