From 0be661763162943ddf3aa8561c935265c5eaf4cd Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Wed, 7 Oct 2026 00:51:37 +0200 Subject: [PATCH] Handle RESOLVED events in ServiceLoaderMediatorHook.modifiedBundle --- .../equinox/spi/internal/ServiceLoaderMediatorHook.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.equinox.spi/src/org/eclipse/equinox/spi/internal/ServiceLoaderMediatorHook.java b/bundles/org.eclipse.equinox.spi/src/org/eclipse/equinox/spi/internal/ServiceLoaderMediatorHook.java index b04e92c484..126c5a423d 100644 --- a/bundles/org.eclipse.equinox.spi/src/org/eclipse/equinox/spi/internal/ServiceLoaderMediatorHook.java +++ b/bundles/org.eclipse.equinox.spi/src/org/eclipse/equinox/spi/internal/ServiceLoaderMediatorHook.java @@ -236,13 +236,14 @@ public void modifiedBundle(Bundle bundle, BundleEvent event, Bundle trackedBundl case BundleEvent.STARTED: case BundleEvent.STOPPED: // The completion of the start and stop process is irrelevant. + case BundleEvent.RESOLVED: // An update of the wiring is irrelevant. break; case BundleEvent.UPDATED: removedBundle(bundle, event, trackedBundle); addingBundle(bundle, event); break; default: - throw new IllegalStateException("Unsupported event type: " + event.getType()); //$NON-NLS-1$ + throw new IllegalStateException("Unsupported event type " + event.getType() + " for bundle " + bundle); //$NON-NLS-1$ //$NON-NLS-2$ } } }