-
Bug
-
Resolution: Fixed
-
P3
-
20
-
b26
-
x86_64
-
windows
The following test failed in the JDK20 CI:
java/io/File/TempDirDoesNotExist.java
Here's a snippet from the log file:
#section:main
----------messages:(7/247)----------
command: main TempDirDoesNotExist
reason: Assumed action based on file name: run main TempDirDoesNotExist
started: Wed Nov 23 19:25:42 UTC 2022
Mode: agentvm
Agent id: 8
finished: Wed Nov 23 19:25:42 UTC 2022
elapsed time (seconds): 0.026
----------configuration:(14/1320)*----------
<snip>
----------System.err:(16/1071)*----------
java.nio.file.InvalidPathException: Illegal char <:> at index 46: C:\\Users\\mach5-one\\non-existing-\\2022-11-23T19:25:42.876284500Z
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232)
at java.base/java.nio.file.Path.of(Path.java:148)
at TempDirDoesNotExist.main(TempDirDoesNotExist.java:46)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1591)
JavaTest Message: Test threw exception: java.nio.file.InvalidPathException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.nio.file.InvalidPathException: Illegal char <:> at index 46: C:\Users\mach5-one\non-existing-\2022-11-23T19:25:42.876284500Z
java/io/File/TempDirDoesNotExist.java
Here's a snippet from the log file:
#section:main
----------messages:(7/247)----------
command: main TempDirDoesNotExist
reason: Assumed action based on file name: run main TempDirDoesNotExist
started: Wed Nov 23 19:25:42 UTC 2022
Mode: agentvm
Agent id: 8
finished: Wed Nov 23 19:25:42 UTC 2022
elapsed time (seconds): 0.026
----------configuration:(14/1320)*----------
<snip>
----------System.err:(16/1071)*----------
java.nio.file.InvalidPathException: Illegal char <:> at index 46: C:\\Users\\mach5-one\\non-existing-\\2022-11-23T19:25:42.876284500Z
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232)
at java.base/java.nio.file.Path.of(Path.java:148)
at TempDirDoesNotExist.main(TempDirDoesNotExist.java:46)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1591)
JavaTest Message: Test threw exception: java.nio.file.InvalidPathException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.nio.file.InvalidPathException: Illegal char <:> at index 46: C:\Users\mach5-one\non-existing-\2022-11-23T19:25:42.876284500Z
- relates to
-
JDK-8290313 Produce warning when user specified java.io.tmpdir directory doesn't exist
-
- Closed
-