diff options
author | Thomas Watson | 2012-03-12 20:07:11 +0000 |
---|---|---|
committer | Ian Bull | 2012-03-12 20:18:30 +0000 |
commit | e892b6358a25f4ba81e580b478a9a4800cef8bcd (patch) | |
tree | a50696eebe9da182825b948e91a34cf61cf8175a | |
parent | 707e5cba396765ca92b1e7be56a17aeb1fbb97a6 (diff) | |
download | rt.equinox.p2-e892b6358a25f4ba81e580b478a9a4800cef8bcd.tar.gz rt.equinox.p2-e892b6358a25f4ba81e580b478a9a4800cef8bcd.tar.xz rt.equinox.p2-e892b6358a25f4ba81e580b478a9a4800cef8bcd.zip |
Need to check for the org.osgi.resource packagev20120312-2018N20120416-1918I20120416-2327I20120416-1738I20120416-1719I20120416-1643I20120416-1623I20120416-1600I20120416-1508I20120411-2034I20120411-1737I20120411-0906I20120411-0258I20120410-2330I20120410-2037I20120410-1710I20120410-0633I20120410-0320I20120410-0304I20120410-0252I20120410-0238I20120410-0216I20120410-0152I20120410-0136I20120410-0122I20120410-0102I20120410-0049I20120410-0027I20120409-2358I20120409-2119I20120409-2018I20120409-1957I20120409-1911I20120409-1708I20120409-1622I20120409-1353I20120409-0926I20120409-0904I20120409-0315I20120409-0131I20120408-2304I20120408-2000I20120408-1521I20120408-1324I20120408-1214I20120408-1110I20120408-0330I20120408-0246I20120408-0231I20120408-0216I20120408-0152I20120408-0036I20120408-0012I20120407-2339I20120407-2245I20120407-2106I20120407-1941I20120407-1904I20120407-1840I20120407-1826I20120407-1732I20120407-1717I20120407-1631I20120407-0358I20120407-0346I20120407-0329I20120407-0305I20120407-0217I20120407-0205I20120407-0138I20120407-0103I20120407-0040I20120407-0024I20120406-2327I20120406-0935I20120406-0915I20120406-0250I20120406-0231I20120406-0006I20120405-2131I20120405-1735I20120405-1114I20120405-0114I20120404-2228I20120404-2006I20120404-1351I20120404-0051I20120403-2231I20120328-2028I20120328-2020I20120328-2007I20120328-1956
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/embeddedequinox/EmbeddedEquinox.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/embeddedequinox/EmbeddedEquinox.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/embeddedequinox/EmbeddedEquinox.java index 33158051d..6dc33c0fe 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/embeddedequinox/EmbeddedEquinox.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/embeddedequinox/EmbeddedEquinox.java @@ -75,21 +75,21 @@ public class EmbeddedEquinox { } protected Class findClass(String name) throws ClassNotFoundException { - if (name.startsWith("org.osgi.framework.")) + if (name.startsWith("org.osgi.framework.") || name.startsWith("org.osgi.resource.")) // TODO this should call findClass; but then have to use reflection!! return embeddedBundleLoader.loadClass(name); return super.findClass(name); } public URL findResource(String name) { - if (name.startsWith("org/osgi/framework/")) + if (name.startsWith("org/osgi/framework/") || name.startsWith("org/osgi/resource/")) // TODO this should call findResource; but then have to use reflection!! return embeddedBundleLoader.getResource(name); return super.findResource(name); } public Enumeration findResources(String name) throws IOException { - if (name.startsWith("org/osgi/framework/")) + if (name.startsWith("org/osgi/framework/") || name.startsWith("org/osgi/resource/")) // TODO this should call findResources; but then have to use reflection!! return embeddedBundleLoader.getResources(name); return super.findResources(name); |