[cal10n-dev] [JIRA] Created: (CAL-8) MessageConveyer.lookup() uses wrong classloader
Pete Muir (JIRA)
noreply-jira at qos.ch
Tue Oct 27 12:19:44 CET 2009
MessageConveyer.lookup() uses wrong classloader
-----------------------------------------------
Key: CAL-8
URL: http://jira.qos.ch/browse/CAL-8
Project: CAL10N
Issue Type: Bug
Environment: cal10n 0.7
Reporter: Pete Muir
Assignee: Ceki Gulcu
MessageConveyer uses this.getClass().getClassLoader() as the classloader to use to search for resource bundles. If you wish to install cal10n as a installed library in an application server (or in any case where the cal10n jar is placed on a parent classlaoder), the classloader of the classes using cal10n may not be searched for resource bundles.
I would suggest using declaredClass.getClassLoader().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cal10n-dev
mailing list