You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ss...@apache.org on 2005/05/05 22:56:21 UTC

svn commit: r168405 - /myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/core/LoadBundleTag.java

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)
         {