Hello,Please review the following fix for a bug. It is a backport of the fix which is already reviewed and committed into JDK 8 repository. This fix is identical to the fix for JDK 8.
Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6789984 Webrev: http://cr.openjdk.java.net/~alitvinov/6789984/webrev.02 JDK 8 changeset: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/f32a0aee7bb9 Thank you, Anton