You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Rob Harrop (JIRA)" <hi...@jakarta.apache.org> on 2008/11/26 03:20:46 UTC
[jira] Created: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
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.
[jira] Commented: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
Posted by "Rob Harrop (JIRA)" <hi...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/HIVEMIND-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651044#action_12651044 ]
Rob Harrop commented on HIVEMIND-213:
-------------------------------------
James,
I'll do my best. Getting a simple case to show this is going to be difficult because it needs to run in OSGi. I'll see what I can do about providing a really simple Equinox app that highlights this problem.
Rob
> 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.
[jira] Updated: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
Posted by "Rob Harrop (JIRA)" <hi...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/HIVEMIND-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Harrop updated HIVEMIND-213:
--------------------------------
Attachment: HIVEMIND-213.zip
Test case in driver project. You'll need to munge the classpath a little bit.
I created a version of MessageFormatter against 1.1.1 that passes the test - I'll submit that next.
> 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
> Attachments: HIVEMIND-213.zip
>
>
> 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.
[jira] Updated: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
Posted by "Rob Harrop (JIRA)" <hi...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/HIVEMIND-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Harrop updated HIVEMIND-213:
--------------------------------
Attachment: MessageFormatter.java
Updated version of MessageFormatter that passes the test case
> 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
> Attachments: HIVEMIND-213.zip, MessageFormatter.java
>
>
> 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.
[jira] Commented: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/HIVEMIND-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650851#action_12650851 ]
James Carman commented on HIVEMIND-213:
---------------------------------------
Do you have a test case patch? The developers of this library don't have much time to devote to it these days, but I'd be willing to tackle it if you give me a test case that I need to make work. :)
> 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.
[jira] Commented: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
[ 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.
[jira] Commented: (HIVEMIND-213) MessageFormatter should use
ClassLoader of referenceClass when loading ResourceBundle
Posted by "Rob Harrop (JIRA)" <hi...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/HIVEMIND-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651048#action_12651048 ]
Rob Harrop commented on HIVEMIND-213:
-------------------------------------
If you are happy to accept something like that then that won't be a problem. I'll try and get on that today.
Rob
> 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.