stateManager.uninstall(data);
stateManager.getSystemState().removeBundle(data.getBundleID());
			public void commit(boolean postpone) throws BundleException			{				File bundleDir = data.getBundleDir();				if (postpone || !rm(bundleDir))				{					/* mark this bundle to be deleted to ensure it is fully cleaned up					 * on next restart.					 */					File delete = new File(bundleDir, ".delete");					if (!delete.exists())					{						try						{							/* create .delete */							FileOutputStream out = new FileOutputStream(delete);							out.close();						}						catch (IOException e)						{							if (Debug.DEBUG && Debug.DEBUG_GENERAL)							{								Debug.println("Unable to write " + delete.getPath() + ": " + e.getMessage());							}						}					}				}				stateManager.uninstall(data);			}