From 84b1d821501a5acd4298b3561e951333df771cd8 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Mon, 14 Jun 2004 15:51:37 +0000 Subject: Calendar.java: Change ResourceBundle.getBundle() calls to pass ClassLoader argument. * java/util/Calendar.java: Change ResourceBundle.getBundle() calls to pass ClassLoader argument. * java/util/GregorianCalendar.java: Likewise. * java/util/Currency.java: Likewise. * java/text/BreakIterator.java: Likewise. * java/text/Collator.java: Likewise. * java/text/DateFormat.java: Likewise. * java/text/DateFormatSymbols.java: Likewise. * java/text/DecimalFormatSymbols.java: Likewise. * java/text/NumberFormat.java: Likewise. * java/awt/Window.java: Likewise. From-SVN: r83109 --- libjava/java/util/Calendar.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libjava/java/util/Calendar.java') diff --git a/libjava/java/util/Calendar.java b/libjava/java/util/Calendar.java index 11b0aac..0c671e1 100644 --- a/libjava/java/util/Calendar.java +++ b/libjava/java/util/Calendar.java @@ -376,7 +376,8 @@ public abstract class Calendar implements Serializable, Cloneable */ private static ResourceBundle getBundle(Locale locale) { - return ResourceBundle.getBundle(bundleName, locale); + return ResourceBundle.getBundle(bundleName, locale, + Calendar.class.getClassLoader()); } /** -- cgit v1.1