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

Pete Muir (JIRA) noreply-jira at qos.ch
Thu Oct 29 10:53:44 CET 2009


    [ http://jira.qos.ch/browse/CAL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11345#action_11345 ] 

Pete Muir commented on CAL-8:
-----------------------------

Tested and confirmed fixed.

> 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