Review quest for bug 8022879: sun/nio/cs/MalformedSurrogates.java fails intermittently
Eric Wang
yiming.wang at oracle.com
Fri Aug 16 08:37:59 UTC 2013
Hi,
Please help to review the fix below for bug
https://jbs.oracle.com/bugs/browse/JDK-8022879
http://cr.openjdk.java.net/~ewang/8022879/webrev.00/
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.
Thanks,
Eric
More information about the core-libs-dev
mailing list