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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: 20
    • Component/s: core-libs
    • Environment:
    • 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.java
          1 kB
        2. main.cpp
          1 kB
        3. modtime.c
          2 kB

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

              Created:
              Updated:
              Resolved: