--- old/src/java.desktop/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java 2018-10-01 10:05:59.758026000 +0700 +++ new/src/java.desktop/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java 2018-10-01 10:05:59.342026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2018, 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 @@ -428,7 +428,7 @@ } // make a copy to avoid synchronization during the loop - D3DWindowSurfaceData surfaces[] = new D3DWindowSurfaceData[] {}; + D3DWindowSurfaceData[] surfaces = new D3DWindowSurfaceData[] {}; synchronized (this) { surfaces = d3dwSurfaces.toArray(surfaces); }