camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] camel git commit: CAMEL-8236 Fixed the issue that WebSphere class loader detection is too sensitive
Date Tue, 13 Jan 2015 11:47:27 GMT
CAMEL-8236 Fixed the issue that WebSphere class loader detection is too sensitive


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

Branch: refs/heads/camel-2.13.x
Commit: 4460d796c51b2432f7f0c24271cdb2c8d02ce94b
Parents: b3a96e0
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Jan 13 19:44:57 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Jan 13 19:47:08 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/4460d796/camel-core/src/main/java/org/apache/camel/impl/WebSpherePackageScanClassResolver.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/WebSpherePackageScanClassResolver.java
b/camel-core/src/main/java/org/apache/camel/impl/WebSpherePackageScanClassResolver.java
index 7578efb..c4d48ed 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/WebSpherePackageScanClassResolver.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/WebSpherePackageScanClassResolver.java
@@ -43,7 +43,7 @@ public class WebSpherePackageScanClassResolver extends DefaultPackageScanClassRe
      * @return  <tt>true</tt> if IBM classloader, <tt>false</tt>
otherwise.
      */
     public static boolean isWebSphereClassLoader(ClassLoader loader) {
-        return loader != null ? loader.getClass().getName().startsWith("com.ibm") : false;
+        return loader != null ? loader.getClass().getName().startsWith("com.ibm.") : false;
     }
 
     /**


Mime
View raw message