You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/08/31 13:18:28 UTC
[2/2] camel git commit: Better OSGi check in camel-cdi. A potential
problem reported in https://issues.jboss.org/browse/SWARM-643
Better OSGi check in camel-cdi. A potential problem reported in https://issues.jboss.org/browse/SWARM-643
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b42856bb
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b42856bb
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b42856bb
Branch: refs/heads/camel-2.17.x
Commit: b42856bbc1cc5374a928522e1691847610763f1d
Parents: 1611b46
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Aug 31 15:17:32 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Aug 31 15:18:16 2016 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/camel/cdi/CdiCamelEnvironment.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/b42856bb/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelEnvironment.java
----------------------------------------------------------------------
diff --git a/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelEnvironment.java b/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelEnvironment.java
index b5cbf58..3aabe6f 100644
--- a/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelEnvironment.java
+++ b/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelEnvironment.java
@@ -49,6 +49,8 @@ final class CdiCamelEnvironment {
return true;
} catch (ClassNotFoundException cause) {
return false;
+ } catch (NoClassDefFoundError cause) {
+ return false;
}
}