You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2016/12/01 09:19:12 UTC
[2/2] karaf git commit: KARAF-4739 Fix computation of snapshots crc
for fragments
KARAF-4739 Fix computation of snapshots crc for fragments
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/1369d9f4
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/1369d9f4
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/1369d9f4
Branch: refs/heads/karaf-4.0.x
Commit: 1369d9f4e0bb53d62aa36bb9f199fab594473e86
Parents: 68f31c0
Author: Guillaume Nodet <gn...@apache.org>
Authored: Thu Dec 1 10:18:09 2016 +0100
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Thu Dec 1 10:19:05 2016 +0100
----------------------------------------------------------------------
.../java/org/apache/karaf/features/internal/service/Deployer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/1369d9f4/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
----------------------------------------------------------------------
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java b/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
index f55045e..6068c2d 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
@@ -1188,7 +1188,7 @@ public class Deployer {
// corresponding jar url and use that one to compute the checksum of the bundle.
oldCrc = 0l;
try {
- URL url = bundle.getResource("META-INF/MANIFEST.MF");
+ URL url = bundle.getEntry("META-INF/MANIFEST.MF");
URLConnection con = url.openConnection();
Method method = con.getClass().getDeclaredMethod("getLocalURL");
method.setAccessible(true);