--- old/src/java.desktop/share/classes/sun/awt/image/IntegerComponentRaster.java 2018-10-01 10:02:50.466026000 +0700 +++ new/src/java.desktop/share/classes/sun/awt/image/IntegerComponentRaster.java 2018-10-01 10:02:49.934026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, 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 @@ -272,7 +272,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - int outData[]; + int[] outData; if (obj == null) { outData = new int[numDataElements]; } else { @@ -320,7 +320,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - int outData[]; + int[] outData; if (obj instanceof int[]) { outData = (int[])obj; } else { @@ -364,7 +364,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - int inData[] = (int[])obj; + int[] inData = (int[])obj; int off = (y-minY)*scanlineStride + (x-minX)*pixelStride; @@ -423,7 +423,7 @@ int srcOffX = inRaster.getMinX(); int srcOffY = inRaster.getMinY(); - int tdata[] = null; + int[] tdata = null; if (inRaster instanceof IntegerComponentRaster && (pixelStride == 1) && (numDataElements == 1)) { @@ -496,7 +496,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - int inData[] = (int[])obj; + int[] inData = (int[])obj; int yoff = (y-minY)*scanlineStride + (x-minX)*pixelStride; @@ -540,7 +540,7 @@ public WritableRaster createWritableChild (int x, int y, int width, int height, int x0, int y0, - int bandList[]) { + int[] bandList) { if (x < this.minX) { throw new RasterFormatException("x lies outside raster"); } @@ -594,7 +594,7 @@ public Raster createChild (int x, int y, int width, int height, int x0, int y0, - int bandList[]) { + int[] bandList) { return createWritableChild(x, y, width, height, x0, y0, bandList); }