RFR (L, tedious again, sorry) 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 30 13:24:33 UTC 2017



On 30/10/2017 12:38, coleen.phillimore at oracle.com wrote:
> :
>
>
> I don't know why Java_java_io_UnixFileSystem uses JVM_MAXPATHLEN since 
> it's not calling the JVM interface as far as I can tell. I think it 
> should be changed to PATH_MAX.
This code used to use the JVM_* functions (dates back to early JDK 
releases). The JVM_MAXPATHLEN usage is likely left over from when this 
code was change to use the syscalls directly.

-Alan



More information about the build-dev mailing list