String extendedPattern = "Name: {0,upper} ";
String pattern = extendedPattern + builtinsPattern;
HashSet testLocales = new HashSet();
testLocales.addAll(Arrays.asList(DateFormat.getAvailableLocales()));
testLocales.retainAll(Arrays.asList(NumberFormat.getAvailableLocales()));
testLocales.add(null);
for (Iterator l = testLocales.iterator(); l.hasNext();) {
Locale locale = (Locale) l.next();
MessageFormat builtins = createMessageFormat(builtinsPattern, locale);