[8u] 8202353: os::readdir should use readdir instead of readdir_r
Andrew John Hughes
gnu.andrew at redhat.com
Mon Jun 3 14:33:09 UTC 2019
On 31/05/2019 19:59, Alvarez, David wrote:
> Hi Andrew,
>
> Hi Andrew
>
> I remember looking at this for jdk11u. Although 8202353 covers
> changes to hotspot, there are a bunch of places outside hotspot where
> readdir_r is still being used, like [0] and [1].
>
> I would suggest to backport JDK-8202794, JDK-8207340 and JDK-8207748.
> JDK-8207748 is a fixup of JDK-8202794 and can be integrated on it.
>
> [0] http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/file/57d6c23af6c9/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c#l59
> [1] http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/file/57d6c23af6c9/src/solaris/native/java/util/TimeZone_md.c#l49
>
> --
> David
>
Yes, I'm aware of these and plan to backport them in due course.
However, JDK-8202353 is the priority as the HotSpot build is broken
without it (it uses -Werror, JDK does not on 8u)
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
https://keybase.io/gnu_andrew
More information about the jdk8u-dev
mailing list