Hello. Please review the fix for jdk 9. The CTW test individually compiles each class (including the static initializer), and a crash occures during MotifDnDConstants initialization when the display is 0. In a headless environment this class should not be initialized/loaded, and if this happens we should fail fast. Note that a usual client applications are not affected.
Bug: https://bugs.openjdk.java.net/browse/JDK-8024626 Webrev can be found at: http://cr.openjdk.java.net/~serb/8024626/webrev.00 -- Best regards, Sergey.
