camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/4] git commit: CAMEL-7072 Fixed the Veracode compliance with thanks to Leonid
Date Wed, 18 Dec 2013 06:27:07 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/84ddd503
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/84ddd503
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/84ddd503

Branch: refs/heads/camel-2.12.x
Commit: 84ddd50383cd6c21abcf25fedc44c29a00cdb621
Parents: a379a63
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:07 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/84ddd503/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 5fe4642..74e3f0e 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