[
https://issues.apache.org/jira/browse/OFBIZ-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488733#comment-16488733 ]
Mathieu Lirzin commented on OFBIZ-10410:
----------------------------------------
Hello Shi,
Even if I effectively worked on this while diving on OFBiz code for the REST thing, it is not related to OFBIZ-4274. :-)
> Refactor `JavaEventHandler` class
> ---------------------------------
>
> Key: OFBIZ-10410
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10410> Project: OFBiz
> Issue Type: Improvement
> Affects Versions: Trunk
> Reporter: Mathieu Lirzin
> Priority: Minor
> Attachments: OFBIZ-10410-refactor-java-event-handler.patch
>
>
> Instead of relying on manual synchronisation, use a concurrent map for caching loaded classes. Inline private `invoke` delegate which intent was fuzzy. Spread arguments when calling `Method::invoke` and `Class::getMethod`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)