--- old/modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java 2015-01-26 17:01:41.000000000 -0800 +++ new/modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java 2015-01-26 17:01:41.000000000 -0800 @@ -80,20 +80,6 @@ * clear this dirty flag. */ public abstract class NGNode { - protected static float highestPixelScale; - static { - // TODO: temporary until RT-27958 is fixed. Screens may be null or could be not initialized - // when running unit tests - try { - for (Screen s : Screen.getScreens()) { - highestPixelScale = Math.max(s.getScale(), highestPixelScale); - } - } catch (RuntimeException ex) { - System.err.println("WARNING: unable to get max pixel scale for screens"); - highestPixelScale = 1.0f; - } - } - private final static GraphicsPipeline pipeline = GraphicsPipeline.getPipeline();