diff options
author | Arnstein Ressem <aressem@gmail.com> | 2023-01-10 07:39:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 07:39:16 +0100 |
commit | 6758ec07f260fd79edc01a8c7e8b1c55a2679c5f (patch) | |
tree | 755ec18b4cc68a2390673f5fe242bd515f333800 /container-core/src/main/java/com/yahoo/osgi | |
parent | 32dd3bc3f8497a102e47f1fb546658e2f055ef40 (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.java | 5 |
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); } } |