diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/url/URLStreamHandlerProxy.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/url/URLStreamHandlerProxy.java index 4c145ee3498..f62fac292c4 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/url/URLStreamHandlerProxy.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/url/URLStreamHandlerProxy.java @@ -235,7 +235,7 @@ synchronized void dispose() { @Override public synchronized URLStreamHandlerService get() { if (service == null && !disposed) { - service = bundleContext.getService(reference); + service = URLStreamHandlerFactoryImpl.secureAction.getService(reference, bundleContext); } return service; }