changeset 6489 | 9e7015635425 |
parent 5506 | 202f599c92aa |
child 7668 | d4a77089c587 |
child 7780 | fc2905d8201f |
--- a/jdk/src/share/classes/java/text/MessageFormat.java Mon Aug 23 14:14:52 2010 +0900 +++ b/jdk/src/share/classes/java/text/MessageFormat.java Tue Aug 31 11:27:10 2010 -0700 @@ -363,7 +363,7 @@ * @exception IllegalArgumentException if the pattern is invalid */ public MessageFormat(String pattern) { - this.locale = Locale.getDefault(); + this.locale = Locale.getDefault(Locale.Category.FORMAT); applyPattern(pattern); }