geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwo...@apache.org
Subject svn commit: r1087613 - /geronimo/server/trunk/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationGBean.java
Date Fri, 01 Apr 2011 07:41:42 GMT
Author: rwonly
Date: Fri Apr  1 07:41:42 2011
New Revision: 1087613

URL: http://svn.apache.org/viewvc?rev=1087613&view=rev
Log:
GERONIMO-5861 Update a bundle within an EBA (fix BundleContext might be invalid err)

Modified:
    geronimo/server/trunk/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationGBean.java

Modified: geronimo/server/trunk/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationGBean.java?rev=1087613&r1=1087612&r2=1087613&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationGBean.java
(original)
+++ geronimo/server/trunk/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationGBean.java
Fri Apr  1 07:41:42 2011
@@ -145,7 +145,7 @@ public class ApplicationGBean implements
         }
         
         if (targetBundle!=null){
-            BundleContext context = targetBundle.getBundleContext();
+            BundleContext context = bundle.getBundleContext();
             ServiceReference reference = context.getServiceReference(PackageAdmin.class.getName());
             FileInputStream fi;
             try {



Mime
View raw message