26 Nov 2008 03:20
[jira] Created: (HIVEMIND-213) MessageFormatter should use ClassLoader of referenceClass when loading ResourceBundle
Rob Harrop (JIRA <hivemind-dev <at> jakarta.apache.org>
2008-11-26 02:20:46 GMT
2008-11-26 02:20:46 GMT
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.
I agree with you, adding isAssignableToType() to Translator (and then also
ObjectProvider) is not a good idea. It gets too hairy.
As an alternative to a special treatment of SmartTranslator (using
instanceof) we could plainly let the BuilderPropertyFacet log the error it
catches before returning false. Then you should at least see what's going
on if you wade through the logs...
> Report a proper message when a constructor argument in BuilderFactory is
invalid
>
RSS Feed