Hi,The failure was from a bad DISPLAY setting, this must be not intended, so we re-throw the exception and tell to make sure that the DISPLAY is correct.
The fix is only to add a catch of InternalError at the beginning, the rest code is not modified but re-formated to remove some spaces.
webrev:http://cr.openjdk.java.net/~sjiang/JDK-8035195/00 <http://cr.openjdk.java.net/%7Esjiang/JDK-8035195/00>/
bug: https://bugs.openjdk.java.net/browse/JDK-8035195 Thanks, Shanliang
