--- old/src/demo/share/java2d/J2DBench/src/j2dbench/J2DBench.java 2018-10-03 16:37:12.917008000 +0700 +++ new/src/demo/share/java2d/J2DBench/src/j2dbench/J2DBench.java 2018-10-03 16:37:12.433008000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -187,7 +187,7 @@ System.exit(exitcode); } - public static void main(String argv[]) { + public static void main(String[] argv) { init(); TestEnvironment.init(); Result.init(); @@ -310,8 +310,8 @@ if (argv[i].indexOf(":") >= 0) { - String values[] = argv[i].split(":"); - int intVals[] = new int[3]; + String[] values = argv[i].split(":"); + int[] intVals = new int[3]; for(int j=0; j