svn commit: r653180 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r653180 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java

lektran
Author: lektran
Date: Sat May  3 22:34:21 2008
New Revision: 653180

URL: http://svn.apache.org/viewvc?rev=653180&view=rev
Log:
Not really sure why but calling simple methods in other files wasn't working with the class loader that was being passed

Modified:
    ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java

Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java?rev=653180&r1=653179&r2=653180&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java Sat May  3 22:34:21 2008
@@ -629,7 +629,7 @@
             } else if (methodOperation instanceof CallSimpleMethod) {
                 CallSimpleMethod csm = (CallSimpleMethod) methodOperation;
                 try {
-                    SimpleMethod calledMethod = csm.getSimpleMethodToCall(methodOperations.getClass().getClassLoader());
+                    SimpleMethod calledMethod = csm.getSimpleMethodToCall(null);
                     if (calledMethod == null) {
                         Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module);
                     } else {