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

(fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 21
    • 20
    • core-libs
    • b03
    • x86
    • os_x

      The BasicFileAttributeView.setTimes(null, time, null) does not work when the file is on the "hfs" file store. The call does not throw any exception but the last access time is not updated. It works fine on the "apfs" file store. On the JDK-19 it used to work both on "hfs" and "apfs". The problem is caused by the fix of JDK-8151430.

        1. main.cpp
          1 kB
          Tomáš Zezula
        2. Main.java
          1 kB
          Tomáš Zezula
        3. modtime.c
          2 kB
          Brian Burkhalter

            bpb Brian Burkhalter
            tzezula Tomáš Zezula
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: