bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7141296 webrev: http://cr.openjdk.java.net/~alexp/7141296/webrev.01/ changeset: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/791f738fe301
This is a forward port of the issue which has not been automatically ported from the JDK 7u4 to JDK 8.
The code changes for JDK 8 are identical to the ones in JDK 7u4. The issue is not reproduced in the JDK 8 with the applied patch. Thanks, Alexandr.