diff options
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/SystemBundleLoader.java')
-rw-r--r-- | bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/SystemBundleLoader.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/SystemBundleLoader.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/SystemBundleLoader.java index 9495b5b86..e8c7f730f 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/SystemBundleLoader.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/SystemBundleLoader.java @@ -46,6 +46,7 @@ public class SystemBundleLoader extends BundleLoader { * The ClassLoader that loads OSGi framework classes is used to find the class. * This method never gets called because there is no BundleClassLoader for the framework. */ + @Override public Class<?> findClass(String name) throws ClassNotFoundException { Class<?> result = findLocalClass(name); if (result == null) @@ -56,6 +57,7 @@ public class SystemBundleLoader extends BundleLoader { /** * The ClassLoader that loads OSGi framework classes is used to find the class. */ + @Override public Class<?> findLocalClass(String name) { try { return classLoader.loadClass(name); @@ -68,6 +70,7 @@ public class SystemBundleLoader extends BundleLoader { /** * The ClassLoader that loads OSGi framework classes is used to find the resource. */ + @Override public URL findLocalResource(String name) { return classLoader.getResource(name); } @@ -75,6 +78,7 @@ public class SystemBundleLoader extends BundleLoader { /** * The ClassLoader that loads OSGi framework classes is used to find the resource. */ + @Override public Enumeration<URL> findLocalResources(String name) { try { return classLoader.getResources(name); @@ -88,6 +92,7 @@ public class SystemBundleLoader extends BundleLoader { * The ClassLoader that loads OSGi framework classes is used to find the resource. * This method never gets called because there is no ModuleClassLoader for the framework. */ + @Override public URL findResource(String name) { return findLocalResource(name); } @@ -97,6 +102,7 @@ public class SystemBundleLoader extends BundleLoader { * This method never gets called because there is no ModuleClassLoader for the framework. * @throws IOException */ + @Override public Enumeration<URL> findResources(String name) throws IOException { return findLocalResources(name); } |