--- old/src/java.desktop/share/classes/sun/java2d/loops/DrawGlyphListAA.java 2018-10-01 10:03:25.494026000 +0700 +++ new/src/java.desktop/share/classes/sun/java2d/loops/DrawGlyphListAA.java 2018-10-01 10:03:25.094026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -104,7 +104,7 @@ int cy2 = clip.getHiY(); for (int i = 0; i < num; i++) { gl.setGlyphIndex(i); - int metrics[] = gl.getMetrics(); + int[] metrics = gl.getMetrics(); int gx1 = metrics[0]; int gy1 = metrics[1]; int w = metrics[2]; @@ -122,7 +122,7 @@ if (gx2 > cx2) gx2 = cx2; if (gy2 > cy2) gy2 = cy2; if (gx2 > gx1 && gy2 > gy1) { - byte alpha[] = gl.getGrayBits(); + byte[] alpha = gl.getGrayBits(); maskop.MaskFill(sg2d, dest, sg2d.composite, gx1, gy1, gx2 - gx1, gy2 - gy1, alpha, off, w);