tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13307] - Need to specify classLoader when loading resources...
Date Mon, 26 Jan 2004 00:07:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13307>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13307

Need to specify classLoader when loading resources...





------- Additional Comments From matthias.ernst@coremedia.com  2004-01-26 00:07 -------
I'm confused. Did you test and did it help ?

ResourceBundle.getBundle does not use ResourceBundle.class's loader but *the 
caller's* loader, i.e. StringManager's. That renders your change a noop.

ResourceBundle#getBundle:
Gets a resource bundle using the specified base name, the default locale, and 
the caller's class loader.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message