--- old/src/java.desktop/share/classes/sun/awt/image/ShortComponentRaster.java 2018-10-01 10:02:58.834026000 +0700 +++ new/src/java.desktop/share/classes/sun/awt/image/ShortComponentRaster.java 2018-10-01 10:02:58.398026000 +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 @@ -259,7 +259,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - short outData[]; + short[] outData; if (obj == null) { outData = new short[numDataElements]; } else { @@ -307,7 +307,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - short outData[]; + short[] outData; if (obj == null) { outData = new short[w*h*numDataElements]; } else { @@ -460,7 +460,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - short inData[] = (short[])obj; + short[] inData = (short[])obj; int off = (y-minY)*scanlineStride + (x-minX)*pixelStride; for (int i = 0; i < numDataElements; i++) { @@ -558,7 +558,7 @@ throw new ArrayIndexOutOfBoundsException ("Coordinate out of bounds!"); } - short inData[] = (short[])obj; + short[] inData = (short[])obj; int yoff = (y-minY)*scanlineStride + (x-minX)*pixelStride; int xoff;