From 1c21d758af81d880ad6e045d18f8bc62ad8be89e Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 24 Jan 2010 09:27:44 +0000 Subject: Minor improvements to java component support, use one classloader per component, use Iterables instead of arrays to represent lists, added more tests and a working java version of the store integration test. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902539 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/java/mod-java.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/modules/java/mod-java.hpp') diff --git a/sca-cpp/trunk/modules/java/mod-java.hpp b/sca-cpp/trunk/modules/java/mod-java.hpp index 933550b7c3..a2235fc17f 100644 --- a/sca-cpp/trunk/modules/java/mod-java.hpp +++ b/sca-cpp/trunk/modules/java/mod-java.hpp @@ -63,9 +63,9 @@ struct applyImplementation { * Evaluate a Java component implementation and convert it to an applicable * lambda function. */ -const failable&)> > evalImplementation(unused const string& path, const value& impl, const list& px) { +const failable&)> > evalImplementation(const string& path, const value& impl, const list& px) { const string cn(attributeValue("class", impl)); - const failable jc = java::readClass(java::javaRuntime, cn); + const failable jc = java::readClass(java::javaRuntime, path, cn); if (!hasContent(jc)) return mkfailure&)> >(reason(jc)); return lambda&)>(applyImplementation(content(jc), px)); -- cgit v1.2.3