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

Native Unix code should use readdir rather than readdir_r

XMLWordPrintable

    • b03
    • Not verified

        As discussed in JDK-8202353, readdir_r is problematic and is being deprecated by various platforms. This is causing build failures on Linux when using recent versions of glibc. The replacement is readdir; the thread-safety issues with readdir are not a problem for most uses, including those in the JDK.

        The uses of readdir_r in java.base/unix/native should be changed to use readdir instead.

              bpb Brian Burkhalter
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: