Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 309374
Collapse All | Expand All

(-)src/org/eclipse/update/internal/configurator/Utils.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 138-144 Link Here
138
	 */
138
	 */
139
	public static boolean isRunning() {
139
	public static boolean isRunning() {
140
		Bundle bundle = getBundle(PI_OSGI);
140
		Bundle bundle = getBundle(PI_OSGI);
141
		return  bundle == null ? false : bundle.getState() == Bundle.ACTIVE;
141
		return  bundle == null ? false : (bundle.getState() & (Bundle.ACTIVE | Bundle.STARTING)) != 0;
142
	}
142
	}
143
143
144
	/**
144
	/**

Return to bug 309374