Review quest for bug 8022879: sun/nio/cs/MalformedSurrogates.java fails intermittently
yiming.wang at oracle.com
Fri Aug 16 08:37:59 UTC 2013
Please help to review the fix below for bug
The test has defect as it wouldn't be executed if the file.encoding is
UTF-8 (lots of test machines in nightly are UTF-8), it also doesn't
check UTF-16 and UTF-32 which can cause test fail too.
The fix is to check whether the default charset is unicode, if yes, use
US-ASCII to test instead.
More information about the core-libs-dev