From 83d18d1113e87315181b6d9f1daba6146ad12cc9 Mon Sep 17 00:00:00 2001 From: rfeng Date: Wed, 28 Jul 2010 21:01:14 +0000 Subject: Change Tuscany to not initialized the class during loading git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980214 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules') diff --git a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java index f9c8dcb259..081fdac828 100644 --- a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java +++ b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java @@ -109,7 +109,7 @@ public class ClassLoaderModelResolver extends URLClassLoader implements ModelRes this.context = context; // Load the class and return a class reference for it String className = ((ClassReference)unresolved).getClassName(); - Class clazz = Class.forName(className, true, this); + Class clazz = Class.forName(className, false, this); return modelClass.cast(new ClassReference(clazz)); } catch (ClassNotFoundException e) { -- cgit v1.2.3