[jboss-jira] [JBoss JIRA] (LOGMGR-140) Change reflection to use MethodHandle's
James Perkins (JIRA)
issues at jboss.org
Thu Sep 28 14:45:00 EDT 2017
[ https://issues.jboss.org/browse/LOGMGR-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469892#comment-13469892 ]
James Perkins commented on LOGMGR-140:
--------------------------------------
Good to know. My initial thought when filing this was concern around Java 9. Though where we use reflection this may not be an issue.
> Change reflection to use MethodHandle's
> ---------------------------------------
>
> Key: LOGMGR-140
> URL: https://issues.jboss.org/browse/LOGMGR-140
> Project: JBoss Log Manager
> Issue Type: Enhancement
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Minor
>
> Use of reflection should be reduced or completely removed in favor of using {{MethodHandle}}'s.
> Currently reflection is used in:
> * {{org.jboss.logmanager.config.AbstractPropertyConfiguration}}
> * {{org.jboss.logmanager.AtomicArray}}
> * {{org.jboss.logmanager.LogManager}}
> It's possible {{org.jboss.logmanager.LogManager}} may be tricky since it uses hacks to add levels.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list