[jboss-jira] [JBoss JIRA] (JBLOGGING-102) Messages#getBundle() needs to be privileged

James Perkins (JIRA) issues at jboss.org
Thu Mar 27 12:08:13 EDT 2014


    [ https://issues.jboss.org/browse/JBLOGGING-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12957083#comment-12957083 ] 

James Perkins commented on JBLOGGING-102:
-----------------------------------------

It's around the entire block :) https://github.com/jboss-logging/jboss-logging/blob/3.1/src/main/java/org/jboss/logging/Messages.java#L58
                
> Messages#getBundle() needs to be privileged
> -------------------------------------------
>
>                 Key: JBLOGGING-102
>                 URL: https://issues.jboss.org/browse/JBLOGGING-102
>             Project: JBoss Logging
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1.4.GA, 3.2.0.Beta1
>            Reporter: Ivo Studensky
>            Assignee: James Perkins
>             Fix For: 3.1.3.GA, 3.2.0.Beta1
>
>
> It ({{org.jboss.logging.Messages#getBundle(Class<T> type, Locale locale)}}) calls {{type.getClassLoader()}} which requires privileges when running with Security Manager.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list