RFR: JDK-8115868: 32-bit JVM failed to start from a large network filesystem
Martin Buchholz
martinrb at google.com
Wed Dec 16 19:01:55 UTC 2015
On Tue, Dec 15, 2015 at 2:12 PM, Bernd Eckenfels <ecki at zusammenkunft.net> wrote:
> Hello,
>
> I always like it when access() is used instead of stat() magic.
>
> I noticed that the new ProgramExists in java_md_common.c does not
> anymore reject directories (which are typically executable). Not sure
> it this matters or is intentional, it is a change in semantic.
Right. This is a small loss of robustness. Changing stat into access
here isn't really right because not stat has a superset of
functionality, and (like I keep saying) all the stat calls in the JDK
are potentially broken and need fixing.
More information about the core-libs-dev
mailing list