--- old/src/demo/share/java2d/J2DBench/src/j2dbench/ResultSet.java 2018-10-03 16:37:18.129008000 +0700 +++ new/src/demo/share/java2d/J2DBench/src/j2dbench/ResultSet.java 2018-10-03 16:37:17.681008000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2011, 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 @@ -51,7 +51,7 @@ static Hashtable ignoreprops; // Preferred props - will be listed even if undefined - static String preferredkeys[] = { + static String[] preferredkeys = { "java.version", "java.runtime.version", "java.class.version", @@ -69,7 +69,7 @@ }; // Ignored props - will not be copied to results file - static String ignoredkeys[] = { + static String[] ignoredkeys = { "user.dir", "user.home", "user.timezone",