diff -r f775f83d6b60 -r 2e330da7cbf4 src/java.desktop/share/classes/javax/swing/ArrayTable.java --- a/src/java.desktop/share/classes/javax/swing/ArrayTable.java Thu Oct 04 11:07:30 2018 -0700 +++ b/src/java.desktop/share/classes/javax/swing/ArrayTable.java Thu Oct 04 12:40:55 2018 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -58,7 +58,7 @@ * AbstractAction use to avoid having the same code in each class. */ static void writeArrayTable(ObjectOutputStream s, ArrayTable table) throws IOException { - Object keys[]; + Object[] keys; if (table == null || (keys = table.getKeys(null)) == null) { s.writeInt(0);