From ff0aa965c4d0fabd017733bbfc2023f302b401ef Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 4 Dec 2018 11:31:02 -0600 Subject: [PATCH] Issue #3162 - Attempting to address ServiceLoader with javax.websocket (client) on OSGi Signed-off-by: Joakim Erdfelt --- .../TestJettyOSGiBootWithJavaxWebSocket.java | 62 ++++++++++--------- .../javax-websocket-client/pom.xml | 13 ++-- .../javax-websocket-server/pom.xml | 4 +- 3 files changed, 46 insertions(+), 33 deletions(-) diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java index 2f26120da88..696f1d1ed92 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java @@ -48,6 +48,7 @@ import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; import aQute.bnd.osgi.Constants; +import org.osgi.framework.BundleException; /** * Test using websocket in osgi @@ -64,6 +65,7 @@ public class TestJettyOSGiBootWithJavaxWebSocket public static Option[] configure() { ArrayList