camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [3/4] git commit: CAMEL-7072 Fixed the Veracode compliance with thanks to Leonid
Date Wed, 18 Dec 2013 06:27:08 GMT
CAMEL-7072 Fixed the Veracode compliance with thanks to Leonid


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/856514ab
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/856514ab
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/856514ab

Branch: refs/heads/camel-2.11.x
Commit: 856514ab7c558dd7092f4c91f0801a9b5c99cc76
Parents: bb150da
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Dec 18 14:09:20 2013 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Dec 18 14:26:24 2013 +0800

----------------------------------------------------------------------
 .../apache/camel/impl/converter/AnnotationTypeConverterLoader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/856514ab/camel-core/src/main/java/org/apache/camel/impl/converter/AnnotationTypeConverterLoader.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/converter/AnnotationTypeConverterLoader.java
b/camel-core/src/main/java/org/apache/camel/impl/converter/AnnotationTypeConverterLoader.java
index db079fe..17c6975 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/converter/AnnotationTypeConverterLoader.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/converter/AnnotationTypeConverterLoader.java
@@ -165,7 +165,7 @@ public class AnnotationTypeConverterLoader implements TypeConverterLoader
{
                 Class<?> clazz = null;
                 for (ClassLoader loader : resolver.getClassLoaders()) {
                     try {
-                        clazz = loader.loadClass(name);
+                        clazz = ObjectHelper.loadClass(name, loader);
                         LOG.trace("Loaded {} as class {}", name, clazz);
                         classes.add(clazz);
                         // class founder, so no need to load it with another class loader


Mime
View raw message