--- old/src/java.desktop/macosx/classes/sun/awt/CGraphicsDevice.java 2020-01-28 19:36:55.000000000 -0800 +++ new/src/java.desktop/macosx/classes/sun/awt/CGraphicsDevice.java 2020-01-28 19:36:55.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -63,7 +63,7 @@ public CGraphicsDevice(final int displayID) { this.displayID = displayID; - config = CGLGraphicsConfig.getConfig(this, displayID, 0); + config = CGLGraphicsConfig.getConfig(this); // initializes default device state, might be redundant step since we // call "displayChanged()" later anyway, but we do not want to leave the // device in an inconsistent state after construction