--- old/src/java.desktop/share/classes/sun/awt/geom/Order1.java 2018-10-01 10:02:30.570026000 +0700 +++ new/src/java.desktop/share/classes/sun/awt/geom/Order1.java 2018-10-01 10:02:30.134026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2006, 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 @@ -216,7 +216,7 @@ return new Order1(x0, y0, x1, y1, -direction); } - public int compareTo(Curve other, double yrange[]) { + public int compareTo(Curve other, double[] yrange) { if (!(other instanceof Order1)) { return super.compareTo(other, yrange); } @@ -299,7 +299,7 @@ return orderof(XforY(y), c1.XforY(y)); } - public int getSegment(double coords[]) { + public int getSegment(double[] coords) { if (direction == INCREASING) { coords[0] = x1; coords[1] = y1;