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


Reply via email to