You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2009/09/27 12:36:16 UTC

[jira] Closed: (OFBIZ-2948) A minor change in org.ofbiz.service.engine.StandardJavaEngine

     [ https://issues.apache.org/jira/browse/OFBIZ-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2948.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Release Branch 9.04)
                   SVN trunk
         Assignee: Jacques Le Roux

Thanks Yusen, Scott,

Yusen your patch in in trunk at r819281

> A minor change in org.ofbiz.service.engine.StandardJavaEngine
> -------------------------------------------------------------
>
>                 Key: OFBIZ-2948
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2948
>             Project: OFBiz
>          Issue Type: Wish
>    Affects Versions: Release Branch 9.04
>         Environment: FC10 + OpenJDK 1.6
>            Reporter: Shi Yusen
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>
> Change
>             result = m.invoke(null, dctx, context);
> to
>             result = m.invoke(c.newInstance(), dctx, context);
> This change will make it possible to invoke both static method and instance method. See http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html#invoke(java.lang.Object,%20java.lang.Object...).
> I've tested this in OFBiz 9.04 and works fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.