--- old/src/java.desktop/share/classes/sun/print/ProxyGraphics2D.java 2018-10-01 10:04:28.322026000 +0700 +++ new/src/java.desktop/share/classes/sun/print/ProxyGraphics2D.java 2018-10-01 10:04:27.882026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2017, 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 @@ -662,7 +662,7 @@ * @see java.awt.Graphics#drawPolygon(int[], int[], int) * @since 1.1 */ - public void drawPolyline(int xPoints[], int yPoints[], + public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) { mGraphics.drawPolyline(xPoints, yPoints, nPoints); } @@ -687,7 +687,7 @@ * @see java.awt.Graphics#drawPolyline * @since 1.0 */ - public void drawPolygon(int xPoints[], int yPoints[], + public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) { mGraphics.drawPolygon(xPoints, yPoints, nPoints); } @@ -713,7 +713,7 @@ * @see java.awt.Graphics#drawPolygon(int[], int[], int) * @since 1.0 */ - public void fillPolygon(int xPoints[], int yPoints[], + public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) { mGraphics.fillPolygon(xPoints, yPoints, nPoints); }