[
https://issues.apache.org/jira/browse/OFBIZ-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490411#comment-16490411 ]
Mathieu Lirzin commented on OFBIZ-10410:
----------------------------------------
Thanks Jacques. Indeed the support of the "::" syntax for method references has been backported from Java to Groovy with their new "Parrot" parser which is available in Groovy 3.0.
> 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
> Assignee: Jacques Le Roux
> 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)