--- old/src/java.desktop/share/classes/sun/java2d/pipe/TextRenderer.java 2018-10-01 10:04:14.374026000 +0700 +++ new/src/java.desktop/share/classes/sun/java2d/pipe/TextRenderer.java 2018-10-01 10:04:13.854026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2016, 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 @@ -59,7 +59,7 @@ ctx = outpipe.startSequence(sg2d, s, r, bounds); 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]; @@ -79,7 +79,7 @@ if (gx2 > gx1 && gy2 > gy1 && outpipe.needTile(ctx, gx1, gy1, gx2 - gx1, gy2 - gy1)) { - byte alpha[] = gl.getGrayBits(); + byte[] alpha = gl.getGrayBits(); outpipe.renderPathTile(ctx, alpha, off, w, gx1, gy1, gx2 - gx1, gy2 - gy1); } else {