[PATCH] Review request: 6962637 TEST_BUG: java/io/File/MaxPathLength.java may fail in busy system

Eric Wang yiming.wang at oracle.com
Wed Aug 22 07:54:03 UTC 2012


Hi,

Please help to review the fix below for bug **6962637 
<http://monaco.us.oracle.com/detail.jsf?cr=6962637> TEST_BUG: 
java/io/File/MaxPathLength.java may fail in busy system
http://dl.dropbox.com/u/90659131/fixes/6962637/webrev/index.html

Root cause is the test is not reliable when system is busy, if disk 
space is changed by some other program, test can fail. so the fix is to 
check file.length() instead of disk space.

Regards,
Eric



More information about the core-libs-dev mailing list