code: public void removeBundle(ExtendedBundle bundle) {
          if (classResolverRegistration == null) {
              throw new IllegalStateException("The service is stoped and no more bundles could be removed");
          }
          synchronized (bundles) {
              bundles.remove(bundle.getBundle().getSymbolicName());
          }
      }
docs: {@inheritDoc}