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

(fs) UnixNativeDispatcher conditionally compiles in support for high precision timestamps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • core-libs
    • None
    • b36

      UnixNativeDispatcher.c current has this:

      #if (_POSIX_C_SOURCE >= 200809L) || defined(__solaris__)
          (*env)->SetLongField(env, attrs, attrs_st_atime_nsec, (jlong)buf->st_atim.tv_nsec);
          (*env)->SetLongField(env, attrs, attrs_st_mtime_nsec, (jlong)buf->st_mtim.tv_nsec);
          (*env)->SetLongField(env, attrs, attrs_st_ctime_nsec, (jlong)buf->st_ctim.tv_nsec);
      #endif

      but this dates back to older build platforms and can be cleaned up.

            bpb Brian Burkhalter
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: