From: <yos...@us...> - 2011-01-18 20:25:17
|
We found we forgot to update the method signature of format method in com.ibm.icu.text.MessageFormat when we migrated to Java 5 as the minimum Java requirement in ICU4J 4.4. In the current version, the format method is defined as below - public static String format(String pattern, Object[] arguments) In JDK 5 or later versions, corresponding method is defined as - public static String format(String pattern, Object... arguments) I'm going to change the method signature to use varargs. Strictly speaking, this is not an API change, because varargs is rather a compiler feature and this change is binary compatible (existing code does not require recompilation). If you have any objections, please respond. -Yoshito |