diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-28 21:01:14 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-28 21:01:14 +0000 |
commit | 83d18d1113e87315181b6d9f1daba6146ad12cc9 (patch) | |
tree | 5f58e6be31df817df65dcca6d7aa68eb5009417b /sca-java-2.x/trunk/modules | |
parent | 81631115b22189ecd335733cadad68daea251177 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |