Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2016-02-17 21:18:08 +0000
committerThomas Watson2016-02-17 21:18:08 +0000
commitb56fb6c8cab11946c5aab9ac981f3182bbab6455 (patch)
tree1c3465f04895b4f73970fe2b9b5d44e497552bf3 /bundles/org.eclipse.osgi/supplement
parent33c7f42010a0bd10d01fb0eaf3c7a6db43e64b74 (diff)
downloadrt.equinox.framework-b56fb6c8cab11946c5aab9ac981f3182bbab6455.tar.gz
rt.equinox.framework-b56fb6c8cab11946c5aab9ac981f3182bbab6455.tar.xz
rt.equinox.framework-b56fb6c8cab11946c5aab9ac981f3182bbab6455.zip
Bug 487842 - Unable to acquire state change lock for the module when
starting a bundle - Give cause for BundleException to improve debugging. Change-Id: I31c91e258c841b01c3abdd1ff325201f74cc6c6e Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/supplement')
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties2
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties
index 20a587352..dc3660828 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties
@@ -114,6 +114,8 @@ EclipseStarter_InstallLocation=No install location found.
Module_Fragment_InvalidOperation=Invalid operation on a fragment.
Module_LockError=Unable to acquire the state change lock for the module:
+Module_LockStateError=Cannot transition to the state \"{0}\" while already in the process of transition to the following states: {1}
+Module_LockTimeout=Timeout after waiting {0} seconds to acquire the lock.
Module_ResolveError=Could not resolve module:
Module_StartError=Error starting module.
Module_StopError=Error stopping module.
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java
index 973048ddb..fffc117e0 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java
@@ -121,6 +121,8 @@ public class Msg extends NLS {
public static String Module_Fragment_InvalidOperation;
public static String Module_LockError;
+ public static String Module_LockStateError;
+ public static String Module_LockTimeout;
public static String Module_ResolveError;
public static String Module_StartError;

Back to the top