--- old/src/java.desktop/share/classes/javax/swing/DebugGraphics.java 2018-10-01 10:00:21.994026000 +0700
+++ new/src/java.desktop/share/classes/javax/swing/DebugGraphics.java 2018-10-01 10:00:21.550026000 +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
@@ -770,7 +770,7 @@
/**
* Overrides Graphics.drawPolyline
.
*/
- public void drawPolyline(int xPoints[], int yPoints[], int nPoints) {
+ public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) {
DebugGraphicsInfo info = info();
if (debugLog()) {
@@ -805,7 +805,7 @@
/**
* Overrides Graphics.drawPolygon
.
*/
- public void drawPolygon(int xPoints[], int yPoints[], int nPoints) {
+ public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) {
DebugGraphicsInfo info = info();
if (debugLog()) {
@@ -840,7 +840,7 @@
/**
* Overrides Graphics.fillPolygon
.
*/
- public void fillPolygon(int xPoints[], int yPoints[], int nPoints) {
+ public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) {
DebugGraphicsInfo info = info();
if (debugLog()) {
@@ -945,7 +945,7 @@
/**
* Overrides Graphics.drawBytes
.
*/
- public void drawBytes(byte data[], int offset, int length, int x, int y) {
+ public void drawBytes(byte[] data, int offset, int length, int x, int y) {
DebugGraphicsInfo info = info();
Font font = graphics.getFont();
@@ -981,7 +981,7 @@
/**
* Overrides Graphics.drawChars
.
*/
- public void drawChars(char data[], int offset, int length, int x, int y) {
+ public void drawChars(char[] data, int offset, int length, int x, int y) {
DebugGraphicsInfo info = info();
Font font = graphics.getFont();