RFR: 8214078: Jtreg test java/nio/file/DirectoryStream/SecureDS.java fails on ARM32
Alan.Bateman at oracle.com
Tue Nov 20 07:51:04 UTC 2018
On 20/11/2018 05:38, Nick Gasson wrote:
> Could someone please review this small patch?
> Bug: https://bugs.openjdk.java.net/browse/JDK-8214078
> Webrev: http://cr.openjdk.java.net/~njian/8214078/webrev.0/
> This fixes a failure of the java/nio/file/DirectoryStream/SecureDS.java
> Jtreg test on ARM32.
> Glibc by design does not expose symbols for the `stat' family of
> functions, this means we cannot get the address of fstatat64 via
> dlsym. For other Linux platforms we have wrappers that directly
> call the system call as a workaround, but this wasn't enabled for
> ARM32. Also removed the comment about this being temporary,
> because this seems to be a permanent feature of glibc (see
> comment in sys/stat.h).
> Ran Jtreg tests with no new regressions.
This looks okay.
(I've moved the bug to the right place, also changed the bug synopsis to
make it clear what this issue is about).
More information about the nio-dev