--- old/src/java.desktop/share/classes/java/awt/BasicStroke.java 2018-10-01 09:58:10.878026000 +0700 +++ new/src/java.desktop/share/classes/java/awt/BasicStroke.java 2018-10-01 09:58:10.358026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2014, 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 @@ -157,7 +157,7 @@ int cap; float miterlimit; - float dash[]; + float[] dash; float dash_phase; /** @@ -189,7 +189,7 @@ */ @ConstructorProperties({ "lineWidth", "endCap", "lineJoin", "miterLimit", "dashArray", "dashPhase" }) public BasicStroke(float width, int cap, int join, float miterlimit, - float dash[], float dash_phase) { + float[] dash, float dash_phase) { if (width < 0.0f) { throw new IllegalArgumentException("negative width"); }