bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7146131 webrev: http://cr.openjdk.java.net/~alexp/7146131/webrev.00/ changeset: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/fd9fe385f63c
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.