This is a backport from jdk8 (minus the javadoc changes) to jdk7u The same fix has also gone into a jdk6 update. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7152564 webrev : http://cr.openjdk.java.net/~coffeys/webrev.7152564.7u/ Regards, Sean