Blame SOURCES/0005-Add-getResourceURL-method-to-make-jbosgi-framework-h.patch

e14bc9
From d9df4679129efdc654b44213fb33abd7ac042e81 Mon Sep 17 00:00:00 2001
e14bc9
From: Marek Goldmann <goldmann@fedoraproject.org>
e14bc9
Date: Tue, 3 Jul 2012 18:43:17 +0200
e14bc9
Subject: [PATCH 5/5] Add getResourceURL method to make jbosgi-framework
e14bc9
 happy...
e14bc9
e14bc9
---
e14bc9
 src/main/java/org/osgi/util/xml/XMLParserActivator.java |    4 ++++
e14bc9
 1 file changed, 4 insertions(+)
e14bc9
e14bc9
diff --git a/src/main/java/org/osgi/util/xml/XMLParserActivator.java b/src/main/java/org/osgi/util/xml/XMLParserActivator.java
e14bc9
index 963c092..85f9f56 100644
e14bc9
--- a/src/main/java/org/osgi/util/xml/XMLParserActivator.java
e14bc9
+++ b/src/main/java/org/osgi/util/xml/XMLParserActivator.java
e14bc9
@@ -165,6 +165,10 @@ public class XMLParserActivator implements BundleActivator, ServiceFactory {
e14bc9
 				.getResource(DOMCLASSFILE)));
e14bc9
 	}
e14bc9
 
e14bc9
+	protected URL getResourceURL(Bundle parserBundle, String resname) {
e14bc9
+		return parserBundle.getResource(resname);
e14bc9
+	}
e14bc9
+
e14bc9
 	/**
e14bc9
 	 * This method has nothing to do as all active service registrations will
e14bc9
 	 * automatically get unregistered when the bundle stops.
e14bc9
-- 
e14bc9
1.7.10.4
e14bc9