aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r1240649 - /aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
Date Sun, 05 Feb 2012 00:12:16 GMT
Author: not
Date: Sun Feb  5 00:12:15 2012
New Revision: 1240649

URL: http://svn.apache.org/viewvc?rev=1240649&view=rev
Log:
ARIES-804 Committing fix from Iain Duncan.

Modified:
    aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java

Modified: aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
URL: http://svn.apache.org/viewvc/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java?rev=1240649&r1=1240648&r2=1240649&view=diff
==============================================================================
--- aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
(original)
+++ aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
Sun Feb  5 00:12:15 2012
@@ -336,6 +336,9 @@ public class AriesApplicationManagerImpl
         try {
           URL url = new URL(location);
           JarURLConnection urlc = (JarURLConnection) url.openConnection();
+          
+          // Make sure that we pick up the cached version rather than creating a new one
+          urlc.setUseCaches(true);
           urlc.getJarFile().close();
         } catch (IOException e) {
           // TODO Auto-generated catch block



Mime
View raw message