[ 
https://issues.apache.org/jira/browse/UIMA-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874993#comment-16874993
 ] 

Marshall Schor commented on UIMA-5961:
--------------------------------------

one downside: if the calling environment is "handling" the exception without 
ever converting it to a string, then the message creation work is wasted; so 
things might run slower.  (Might happen if the logging level is set to ignore 
this exception). 

Another approach might be to "capture" the classloader context and use that 
when resolving bundles - not sure how expensive that might be...

> InternationalizedException getLocalizedMessage fails in pear
> ------------------------------------------------------------
>
>                 Key: UIMA-5961
>                 URL: https://issues.apache.org/jira/browse/UIMA-5961
>             Project: UIMA
>          Issue Type: Bug
>    Affects Versions: 2.10.3SDK
>            Reporter: Matthias Koch
>            Assignee: Marshall Schor
>            Priority: Major
>             Fix For: 2.10.4SDK
>
>         Attachments: UIMA-5961.diff, peartest.zip
>
>
> localized message does not work in the case of pears. The classloader stored 
> in the internationalizedException is wrong. The bundle cant be found in this 
> classloader.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to