src/share/classes/sun/rmi/rmic/newrmic/Resources.java

Print this page

        

*** 67,77 **** String format = getString(key); if (format == null) { format = "missing resource key: key = \"" + key + "\", " + "arguments = \"{0}\", \"{1}\", \"{2}\""; } ! return MessageFormat.format(format, args); } /** * Returns the rmic resource string for the specified key. **/ --- 67,77 ---- String format = getString(key); if (format == null) { format = "missing resource key: key = \"" + key + "\", " + "arguments = \"{0}\", \"{1}\", \"{2}\""; } ! return MessageFormat.format(format, (Object[]) args); } /** * Returns the rmic resource string for the specified key. **/