void stopWorker0() throws BundleException {
   BundleContextImpl current = getBundleContextImpl();
   if (current != null) {
     try {
       current.stop();
     } finally {
       current.close();
     }
     synchronized (EquinoxBundle.this.monitor) {
       context = null;
     }
   }
 }
 void startWorker0() throws BundleException {
   BundleContextImpl current = createBundleContext(false);
   if (current == null) {
     throw new BundleException("Unable to create bundle context!"); // $NON-NLS-1$
   }
   try {
     current.start();
   } catch (BundleException e) {
     current.close();
     synchronized (EquinoxBundle.this.monitor) {
       context = null;
     }
     throw e;
   }
 }