--- old/src/java.desktop/share/classes/sun/java2d/loops/DrawPolygons.java 2018-10-01 10:03:27.038026000 +0700 +++ new/src/java.desktop/share/classes/sun/java2d/loops/DrawPolygons.java 2018-10-01 10:03:26.646026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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,8 +73,8 @@ * All DrawPolygon implementors must have this invoker method */ public native void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, - int xPoints[], int yPoints[], - int nPoints[], int numPolys, + int[] xPoints, int[] yPoints, + int[] nPoints, int numPolys, int transX, int transY, boolean close); @@ -106,8 +106,8 @@ } public void DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, - int xPoints[], int yPoints[], - int nPoints[], int numPolys, + int[] xPoints, int[] yPoints, + int[] nPoints, int numPolys, int transX, int transY, boolean close) {