[cal10n-dev] [JIRA] Resolved: (CAL-8) MessageConveyer.lookup() uses wrong classloader

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Wed Oct 28 18:29:44 CET 2009


     [ http://jira.qos.ch/browse/CAL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu resolved CAL-8.
--------------------------

    Resolution: Fixed

Fixed in a recent commit. See http://github.com/ceki/cal10n/commit/ff91eb1c05510d41e19243a039a85f4864af0648

> 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