-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9
-
generic
-
windows
I don't see how it is related with the failed test. It could be a problem in jimage APIs. This is observed once on Windows 32 bit.
Please refer to the test output below:
----------rerun:(25/2358)*----------
PATH='C:\\cygwin\\opt\\jdk\\jdk1.8.0\\bin;C:\\cygwin\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn' \\
SystemDrive=C: \\
SystemRoot='C:\\Windows' \\
TEMP='C:\\Temp' \\
buildid=BUILD_ID \\
windir='C:\\Windows' \\
'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\bin\\javac' \\
-J-ea \\
-J-esa \\
-J-Xmx512m \\
-J-Dtest.class.path.prefix='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-J-Dtest.src='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-J-Dtest.src.path='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-J-Dtest.classes='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' \\
-J-Dtest.class.path='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' \\
-J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
-J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
-J-Dtest.compiler.opts= \\
-J-Dtest.java.opts= \\
-J-Dtest.jdk='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk' \\
-J-Dcompile.jdk='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk' \\
-J-Dtest.timeout.factor=4.0 \\
-d 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' \\
-sourcepath 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-classpath 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties\\UnicodeEscape.java'
----------direct.log:(31/2522)----------
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
at com.sun.javatest.regtest.agent.RegressionCompileCommand.run(RegressionCompileCommand.java:248)
at com.sun.javatest.regtest.agent.CompileActionHelper.runCompile(CompileActionHelper.java:92)
at com.sun.javatest.regtest.agent.AgentServer.doCompile(AgentServer.java:208)
at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:179)
at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:59)
Caused by: java.lang.RuntimeException: java.nio.channels.ClosedChannelException
at jdk.internal.jimage.BasicImageReader.readBuffer(java.base@9-ea/BasicImageReader.java:302)
at jdk.internal.jimage.BasicImageReader.getResourceBuffer(java.base@9-ea/BasicImageReader.java:346)
at java.lang.module.SystemModuleFinder$ImageModuleReader.read(java.base@9-ea/SystemModuleFinder.java:235)
at jdk.internal.loader.BuiltinClassLoader.defineClass(java.base@9-ea/BuiltinClassLoader.java:500)
at jdk.internal.loader.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9-ea/BuiltinClassLoader.java:449)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
at jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(java.base@9-ea/BuiltinClassLoader.java:450)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:390)
at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:184)
at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419)
at com.sun.tools.javac.main.Main.bugMessage(jdk.compiler@9-ea/Main.java:308)
at com.sun.tools.javac.main.Main.compile(jdk.compiler@9-ea/Main.java:292)
at com.sun.tools.javac.main.Main.compile(jdk.compiler@9-ea/Main.java:143)
at com.sun.tools.javac.Main.compile(jdk.compiler@9-ea/Main.java:73)
... 8 more
Caused by: java.nio.channels.ClosedChannelException
at sun.nio.ch.FileChannelImpl.ensureOpen(java.base@9-ea/FileChannelImpl.java:108)
at sun.nio.ch.FileChannelImpl.read(java.base@9-ea/FileChannelImpl.java:722)
at jdk.internal.jimage.BasicImageReader.readBuffer(java.base@9-ea/BasicImageReader.java:299)
... 22 more
result: Error. Error invoking compiler
Please refer to the test output below:
----------rerun:(25/2358)*----------
PATH='C:\\cygwin\\opt\\jdk\\jdk1.8.0\\bin;C:\\cygwin\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn' \\
SystemDrive=C: \\
SystemRoot='C:\\Windows' \\
TEMP='C:\\Temp' \\
buildid=BUILD_ID \\
windir='C:\\Windows' \\
'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\bin\\javac' \\
-J-ea \\
-J-esa \\
-J-Xmx512m \\
-J-Dtest.class.path.prefix='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-J-Dtest.src='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-J-Dtest.src.path='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-J-Dtest.classes='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' \\
-J-Dtest.class.path='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' \\
-J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
-J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
-J-Dtest.compiler.opts= \\
-J-Dtest.java.opts= \\
-J-Dtest.jdk='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk' \\
-J-Dcompile.jdk='D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk' \\
-J-Dtest.timeout.factor=4.0 \\
-d 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' \\
-sourcepath 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties' \\
-classpath 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\jdk_test\\classes\\0\\closed\\java\\util\\Properties' 'D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\jdk\\test\\closed\\java\\util\\Properties\\UnicodeEscape.java'
----------direct.log:(31/2522)----------
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
at com.sun.javatest.regtest.agent.RegressionCompileCommand.run(RegressionCompileCommand.java:248)
at com.sun.javatest.regtest.agent.CompileActionHelper.runCompile(CompileActionHelper.java:92)
at com.sun.javatest.regtest.agent.AgentServer.doCompile(AgentServer.java:208)
at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:179)
at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:59)
Caused by: java.lang.RuntimeException: java.nio.channels.ClosedChannelException
at jdk.internal.jimage.BasicImageReader.readBuffer(java.base@9-ea/BasicImageReader.java:302)
at jdk.internal.jimage.BasicImageReader.getResourceBuffer(java.base@9-ea/BasicImageReader.java:346)
at java.lang.module.SystemModuleFinder$ImageModuleReader.read(java.base@9-ea/SystemModuleFinder.java:235)
at jdk.internal.loader.BuiltinClassLoader.defineClass(java.base@9-ea/BuiltinClassLoader.java:500)
at jdk.internal.loader.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9-ea/BuiltinClassLoader.java:449)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
at jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(java.base@9-ea/BuiltinClassLoader.java:450)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:390)
at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:184)
at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419)
at com.sun.tools.javac.main.Main.bugMessage(jdk.compiler@9-ea/Main.java:308)
at com.sun.tools.javac.main.Main.compile(jdk.compiler@9-ea/Main.java:292)
at com.sun.tools.javac.main.Main.compile(jdk.compiler@9-ea/Main.java:143)
at com.sun.tools.javac.Main.compile(jdk.compiler@9-ea/Main.java:73)
... 8 more
Caused by: java.nio.channels.ClosedChannelException
at sun.nio.ch.FileChannelImpl.ensureOpen(java.base@9-ea/FileChannelImpl.java:108)
at sun.nio.ch.FileChannelImpl.read(java.base@9-ea/FileChannelImpl.java:722)
at jdk.internal.jimage.BasicImageReader.readBuffer(java.base@9-ea/BasicImageReader.java:299)
... 22 more
result: Error. Error invoking compiler
- duplicates
-
JDK-8156602 javac crashes again on Windows 32-bit with ClosedChannelException
- Closed
-
JDK-8153930 Compiler crashed (intermittently)
- Closed