Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2019-09-20 20:21:48 +0000
committerThomas Watson2019-09-23 15:20:03 +0000
commite61c0bdc066d2aede726a882f5bf2ae9196e89c7 (patch)
treeec103acef89ce220be4ad6e20d00475f1405ffcd
parente7cf7a6e5f8987222cba03a5e8d2ad4d558b60c2 (diff)
downloadrt.equinox.framework-e61c0bdc066d2aede726a882f5bf2ae9196e89c7.tar.gz
rt.equinox.framework-e61c0bdc066d2aede726a882f5bf2ae9196e89c7.tar.xz
rt.equinox.framework-e61c0bdc066d2aede726a882f5bf2ae9196e89c7.zip
Log a warning when bundles get discarded by a hook.I20190923-1800
Change-Id: I54503da163df76c211326a1a70dc7136a41d6d50 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
index b041c8abc..a1a6a5c9c 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
@@ -357,7 +357,7 @@ public class Storage {
try {
hook.validate();
} catch (IllegalStateException e) {
- // TODO Logging?
+ equinoxContainer.getLogServices().log(EquinoxContainer.NAME, FrameworkLogEntry.WARNING, "Error validating installed bundle.", e); //$NON-NLS-1$
return true;
}
}

Back to the top