geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1095196 - in /geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util: BundleClassLoader.java equinox/EquinoxBundleClassLoader.java
Date Tue, 19 Apr 2011 20:33:24 GMT
Author: gawor
Date: Tue Apr 19 20:33:23 2011
New Revision: 1095196

URL: http://svn.apache.org/viewvc?rev=1095196&view=rev
Log:
use the original bundle passed for resource lookup

Modified:
    geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/BundleClassLoader.java
    geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/equinox/EquinoxBundleClassLoader.java

Modified: geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/BundleClassLoader.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/BundleClassLoader.java?rev=1095196&r1=1095195&r2=1095196&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/BundleClassLoader.java
(original)
+++ geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/BundleClassLoader.java
Tue Apr 19 20:33:23 2011
@@ -62,7 +62,7 @@ public class BundleClassLoader extends C
     
     public BundleClassLoader(Bundle bundle, boolean searchWiredBundles, boolean convertResourceUrls)
{
         this.bundle = bundle;
-        this.resourceHelper = new BundleResourceHelper(getBundle(), searchWiredBundles, convertResourceUrls);
+        this.resourceHelper = new BundleResourceHelper(bundle, searchWiredBundles, convertResourceUrls);
     }
 
     @Override

Modified: geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/equinox/EquinoxBundleClassLoader.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/equinox/EquinoxBundleClassLoader.java?rev=1095196&r1=1095195&r2=1095196&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/equinox/EquinoxBundleClassLoader.java
(original)
+++ geronimo/xbean/trunk/xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/equinox/EquinoxBundleClassLoader.java
Tue Apr 19 20:33:23 2011
@@ -52,7 +52,7 @@ public class EquinoxBundleClassLoader ex
     public EquinoxBundleClassLoader(Bundle bundle, boolean searchWiredBundles, boolean convertResourceUrls)
{
         super(new URL[] {});
         this.bundle = bundle;
-        this.resourceHelper = new EquinoxBundleResourceHelper(getBundle(), searchWiredBundles,
convertResourceUrls);
+        this.resourceHelper = new EquinoxBundleResourceHelper(bundle, searchWiredBundles,
convertResourceUrls);
     }
     
     @Override



Mime
View raw message