Review Request JDK-7119643: It is not possible to read files with a path longer than 2048 characters

Poonam Bajaj poonam.bajaj at oracle.com
Fri Mar 21 12:52:35 UTC 2014


Hi,

Review request for:
JDK-7119643 <https://bugs.openjdk.java.net/browse/JDK-7119643>: It is 
not possible to read files with a path longer than 2048 characters

Problem and Fix: This bug is a regression from 6u29 and exists only on 
Linux platform. With the fix for 6348631, a limit of MAX_PATH (2K) got 
introduced on the file path length in the os::open() and os::stat() 
functions in os_linux.cpp. These changes remove that limit. These 
changes also add a regression test case to check that the files having 
path longer than 2048 are read without any error.

Webrev: http://cr.openjdk.java.net/~poonam/7119643/webrev.00/

This fix needs to go into 9, 8u, 7u and 6u.

Thanks,
Poonam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140321/7f218319/attachment.html>


More information about the hotspot-runtime-dev mailing list