--- old/src/java.desktop/share/classes/sun/awt/geom/Edge.java 2018-10-01 10:02:28.222026000 +0700 +++ new/src/java.desktop/share/classes/sun/awt/geom/Edge.java 2018-10-01 10:02:27.774026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 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 @@ -73,7 +73,7 @@ private int lastResult; private double lastLimit; - public int compareTo(Edge other, double yrange[]) { + public int compareTo(Edge other, double[] yrange) { if (other == lastEdge && yrange[0] < lastLimit) { if (yrange[1] > lastLimit) { yrange[1] = lastLimit;