framework: Remove reference to bundle changing its own state
There is not real way for a framework to know this, so we remove the
reference to detecting it.
@@ -359,8 +359,7 @@ public interface Bundle extends Comparable<Bundle> {
* {@link BundleException#RESOLVE_ERROR},
* {@link BundleException#STATECHANGE_ERROR}, and
* {@link BundleException#ACTIVATOR_ERROR}.
- * @throws IllegalStateException If this bundle has been uninstalled or this
- * bundle tries to change its own state.
+ * @throws IllegalStateException If this bundle has been uninstalled.
* @throws SecurityException If the caller does not have the appropriate
* {@code AdminPermission[this,EXECUTE]}, and the Java Runtime
* Environment supports permissions.
@@ -380,8 +379,7 @@ public interface Bundle extends Comparable<Bundle> {
* {@link BundleException#RESOLVE_ERROR},
* {@link BundleException#STATECHANGE_ERROR}, and
* {@link BundleException#ACTIVATOR_ERROR}.
- * @throws IllegalStateException If this bundle has been uninstalled or this
- * bundle tries to change its own state.
+ * @throws IllegalStateException If this bundle has been uninstalled.
* @throws SecurityException If the caller does not have the appropriate
* {@code AdminPermission[this,EXECUTE]}, and the Java Runtime
* Environment supports permissions.
@@ -451,8 +449,7 @@ public interface Bundle extends Comparable<Bundle> {
* @throws BundleException BundleException types thrown by this method
* include: {@link BundleException#STATECHANGE_ERROR} and
* {@link BundleException#ACTIVATOR_ERROR}.
- * @throws IllegalStateException If this bundle has been uninstalled or this
- * bundle tries to change its own state.
+ * @throws IllegalStateException If this bundle has been uninstalled.
* @throws SecurityException If the caller does not have the appropriate
* {@code AdminPermission[this,EXECUTE]}, and the Java Runtime
* Environment supports permissions.
@@ -469,8 +466,7 @@ public interface Bundle extends Comparable<Bundle> {
* @throws BundleException BundleException types thrown by this method
* include: {@link BundleException#STATECHANGE_ERROR} and
* {@link BundleException#ACTIVATOR_ERROR}.
- * @throws IllegalStateException If this bundle has been uninstalled or this
- * bundle tries to change its own state.
+ * @throws IllegalStateException If this bundle has been uninstalled.
* @throws SecurityException If the caller does not have the appropriate
* {@code AdminPermission[this,EXECUTE]}, and the Java Runtime
* Environment supports permissions.
@@ -554,8 +550,7 @@ public interface Bundle extends Comparable<Bundle> {
* {@link BundleException#RESOLVE_ERROR},
* {@link BundleException#STATECHANGE_ERROR}, and
* {@link BundleException#ACTIVATOR_ERROR}.
- * @throws IllegalStateException If this bundle has been uninstalled or this
- * bundle tries to change its own state.
+ * @throws IllegalStateException If this bundle has been uninstalled.
* @throws SecurityException If the caller does not have the appropriate
* {@code AdminPermission[this,LIFECYCLE]} for both the current
* bundle and the updated bundle, and the Java Runtime Environment
@@ -581,8 +576,7 @@ public interface Bundle extends Comparable<Bundle> {
* {@link BundleException#RESOLVE_ERROR},
* {@link BundleException#STATECHANGE_ERROR}, and
* {@link BundleException#ACTIVATOR_ERROR}.
- * @throws IllegalStateException If this bundle has been uninstalled or this
- * bundle tries to change its own state.
+ * @throws IllegalStateException If this bundle has been uninstalled.
* @throws SecurityException If the caller does not have the appropriate
* {@code AdminPermission[this,LIFECYCLE]} for both the current
* bundle and the updated bundle, and the Java Runtime Environment
