Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8277334

java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails with creation time outside defined epoch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows

      Description

      test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails because the creation time doesn't match the temporal constraint of the test.

      File creation time reported as: 2021-11-02T20:27:36.7525668Z
      java.lang.RuntimeException: Expected to be close to: 2021-11-02T20:27:53.847625Z
      at CreationTime.test(CreationTime.java:67)
      at CreationTime.main(CreationTime.java:118)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

        Attachments

          Activity

            People

            Assignee:
            msheppar Mark Sheppard
            Reporter:
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: