[PATCH] Review Request: 7076644 TEST_BUG: test/java/io/File/Basic.java fails with cygwin

Eric Wang yiming.wang at oracle.com
Tue Aug 7 07:00:49 UTC 2012


Hi Alan,

Can you please help to review the fix below for bug 
http://monaco.us.oracle.com/detail.jsf?cr=7076644?

http://dl.dropbox.com/u/90659131/fixes/7076644/webrev/index.html

As discussed, it is caused a known issue of cygwin that chmod doesn't 
work, see http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod.
The fix is to replace "chmod ugo-w" to dos command "attrib +R" when test 
is executed in CYGWIN or MKS.

Thanks,
Eric





More information about the core-libs-dev mailing list