--- old/src/java.desktop/macosx/classes/sun/lwawt/macosx/CInputMethodDescriptor.java 2018-10-01 09:57:17.134026000 +0700 +++ new/src/java.desktop/macosx/classes/sun/lwawt/macosx/CInputMethodDescriptor.java 2018-10-01 09:57:16.598026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -106,7 +106,7 @@ } public String toString() { - Locale loc[] = getAvailableLocales(); + Locale[] loc = getAvailableLocales(); String locnames = null; for (int i = 0; i < loc.length; i++) {