sun.awt.CGraphicsDevice#nativeGetScaleFactor() is invoked, particularly, when sun.awt.CGraphicsEnvironment class is loaded. So unless we're fine with a completely headless environment, it's better to have #nativeGetScaleFactor() always returning 1.0f