aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/osgi
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2023-01-10 07:39:16 +0100
committerGitHub <noreply@github.com>2023-01-10 07:39:16 +0100
commit6758ec07f260fd79edc01a8c7e8b1c55a2679c5f (patch)
tree755ec18b4cc68a2390673f5fe242bd515f333800 /container-core/src/main/java/com/yahoo/osgi
parent32dd3bc3f8497a102e47f1fb546658e2f055ef40 (diff)
Revert "Don't attempt to lookup class in internal bundles if a bundle was exp…"
Diffstat (limited to 'container-core/src/main/java/com/yahoo/osgi')
-rw-r--r--container-core/src/main/java/com/yahoo/osgi/OsgiImpl.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/container-core/src/main/java/com/yahoo/osgi/OsgiImpl.java b/container-core/src/main/java/com/yahoo/osgi/OsgiImpl.java
index 11041f6a5c0..4acdc3d544b 100644
--- a/container-core/src/main/java/com/yahoo/osgi/OsgiImpl.java
+++ b/container-core/src/main/java/com/yahoo/osgi/OsgiImpl.java
@@ -62,11 +62,6 @@ public class OsgiImpl implements Osgi {
if (bundle != null) {
return resolveFromBundle(spec, bundle);
} else {
- if (jdiscOsgi.isFelixFramework() && ! spec.bundle.equals(spec.classId)) {
- // Bundle was explicitly specified, but not found.
- throw new IllegalArgumentException("Could not find bundle " + spec.bundle +
- ". " + bundleResolutionErrorMessage(spec.bundle));
- }
return resolveFromThisBundleOrSystemBundle(spec);
}
}