Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2014-04-09 17:00:50 -0400
committerThomas Watson2014-04-09 17:00:50 -0400
commite6d4dde641718e9b59a7387b5726898a1e5adff4 (patch)
treeea299a0128e2d0ffda550ac3fec8a0d4d7e2e6d4
parentad7c0ec6c65e7a2c843ef2745ffe8ac27deffb45 (diff)
downloadrt.equinox.framework-e6d4dde641718e9b59a7387b5726898a1e5adff4.tar.gz
rt.equinox.framework-e6d4dde641718e9b59a7387b5726898a1e5adff4.tar.xz
rt.equinox.framework-e6d4dde641718e9b59a7387b5726898a1e5adff4.zip
Bug 432198 - Clean up trace options for class loading
- add trace in findResources
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoader.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoader.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoader.java
index d64241b5f..8966dfbed 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoader.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoader.java
@@ -600,6 +600,8 @@ public class BundleLoader extends ModuleLoader {
* Finds the resources for a bundle. This method is used for delegation by the bundle's classloader.
*/
public Enumeration<URL> findResources(String name) throws IOException {
+ if (debug.DEBUG_LOADER)
+ Debug.println("BundleLoader[" + this + "].findResources(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
// do not delegate to parent because ClassLoader#getResources already did and it is final!!
if ((name.length() > 1) && (name.charAt(0) == '/')) /* if name has a leading slash */
name = name.substring(1); /* remove leading slash before search */

Back to the top