-
Bug
-
Resolution: Fixed
-
P3
-
14
-
b14
-
linux
After JDK-8181493 we observe (sporadic) test failures on several linux boxes. This is the RuntimeException stack:
----------System.err:(14/1063)----------
java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
at SetTimesNanos.testNanos(SetTimesNanos.java:85)
at SetTimesNanos.main(SetTimesNanos.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
JavaTest Message: shutting down test
----------System.err:(14/1063)----------
java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
at SetTimesNanos.testNanos(SetTimesNanos.java:85)
at SetTimesNanos.main(SetTimesNanos.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
JavaTest Message: shutting down test
- relates to
-
JDK-8181493 (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
- Resolved
- links to