myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssilv...@apache.org
Subject svn commit: r168405 - /myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java
Date Thu, 05 May 2005 20:56:21 GMT
Author: ssilvert
Date: Thu May  5 13:56:21 2005
New Revision: 168405

URL: http://svn.apache.org/viewcvs?rev=168405&view=rev
Log:
MYFACES-226 : Specify class loader on ResourceBundle.getBundle()

Modified:
    myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java

Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java?rev=168405&r1=168404&r2=168405&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java Thu May  5
13:56:21 2005
@@ -116,7 +116,9 @@
         final ResourceBundle bundle;
         try
         {
-            bundle = ResourceBundle.getBundle(basename, locale);
+            bundle = ResourceBundle.getBundle(basename, 
+                                              locale, 
+                                              Thread.currentThread().getContextClassLoader());
         }
         catch (MissingResourceException e)
         {



Mime
View raw message