« Return to Thread: [jira] Created: (HIVEMIND-213) MessageFormatter should use ClassLoader of referenceClass when loading ResourceBundle

[jira] Commented: (HIVEMIND-213) MessageFormatter should use ClassLoader of referenceClass when loading ResourceBundle

by JIRA hivemind-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View in Thread


    [ https://issues.apache.org/jira/browse/HIVEMIND-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651045#action_12651045 ]

James Carman commented on HIVEMIND-213:
---------------------------------------

You may not need OSGI.  Just set up your own classloader and assert that it's used somehow?

> MessageFormatter should use ClassLoader of referenceClass when loading ResourceBundle
> -------------------------------------------------------------------------------------
>
>                 Key: HIVEMIND-213
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-213
>             Project: HiveMind
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 1.1.1
>            Reporter: Rob Harrop
>
> MessageFormatter always ignores the ClassLoader of referenceClass when loading resource bundles. This makes using HiveMind in OSGi very difficult.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (HIVEMIND-213) MessageFormatter should use ClassLoader of referenceClass when loading ResourceBundle