--- old/src/java.desktop/share/classes/java/awt/geom/Area.java 2018-10-01 09:58:55.590026000 +0700 +++ new/src/java.desktop/share/classes/java/awt/geom/Area.java 2018-10-01 09:58:55.182026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -144,7 +144,7 @@ // 0-2 horizontal splitting parameters // OR // 3 parametric equation derivative coefficients - double coords[] = new double[23]; + double[] coords = new double[23]; double movx = 0, movy = 0; double curx = 0, cury = 0; double newx, newy; @@ -702,8 +702,8 @@ } } - public int currentSegment(float coords[]) { - double dcoords[] = new double[6]; + public int currentSegment(float[] coords) { + double[] dcoords = new double[6]; int segtype = currentSegment(dcoords); int numpoints = (segtype == SEG_CLOSE ? 0 : (segtype == SEG_QUADTO ? 2 @@ -715,7 +715,7 @@ return segtype; } - public int currentSegment(double coords[]) { + public int currentSegment(double[] coords) { int segtype; int numpoints; if (prevcurve != null) {