[JBoss JIRA] (LOGMGR-140) Change reflection to use MethodHandle's
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-140?page=com.atlassian.jira.plugin... ]
David Lloyd commented on LOGMGR-140:
------------------------------------
It has been discovered that method handles are much more expensive memory-wise than reflection. It could still be OK to use for one-offs but this should be kept in mind for later.
> 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)
8 years, 7 months
[JBoss JIRA] (WFLY-7816) Camel CXF version not compatible with WildFly CXF
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/WFLY-7816?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated WFLY-7816:
----------------------------------
Fix Version/s: (was: 12.0.0.Alpha1)
> Camel CXF version not compatible with WildFly CXF
> -------------------------------------------------
>
> Key: WFLY-7816
> URL: https://issues.jboss.org/browse/WFLY-7816
> Project: WildFly
> Issue Type: Component Upgrade
> Components: Web Services
> Affects Versions: 10.1.0.Final
> Reporter: Thomas Diesler
> Assignee: Alessio Soldano
>
> cxf-3.1.9 distributed with camel-2.19.x is not compatible with cxf-3.1.6 from wildfly-10.1.0.Final
> {code}
> Caused by: java.lang.NoSuchMethodError: org.apache.cxf.message.Message.remove(Ljava/lang/Class;)Ljava/lang/Object;
> at org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:1239)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:470)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:416)
> at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:133)
> {code}
> CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/1546
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (WFLY-7816) Camel CXF version not compatible with WildFly CXF
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/WFLY-7816?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated WFLY-7816:
----------------------------------
Fix Version/s: 12.0.0.Alpha1
(was: 10.2.0.Final)
(was: 11.0.0.Final)
> Camel CXF version not compatible with WildFly CXF
> -------------------------------------------------
>
> Key: WFLY-7816
> URL: https://issues.jboss.org/browse/WFLY-7816
> Project: WildFly
> Issue Type: Component Upgrade
> Components: Web Services
> Affects Versions: 10.1.0.Final
> Reporter: Thomas Diesler
> Assignee: Alessio Soldano
> Fix For: 12.0.0.Alpha1
>
>
> cxf-3.1.9 distributed with camel-2.19.x is not compatible with cxf-3.1.6 from wildfly-10.1.0.Final
> {code}
> Caused by: java.lang.NoSuchMethodError: org.apache.cxf.message.Message.remove(Ljava/lang/Class;)Ljava/lang/Object;
> at org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:1239)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:470)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:416)
> at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:133)
> {code}
> CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/1546
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months