Pax Web does not work with Jetty 9.4.18

Description

Pax Web 7.3.3 does not work with Jetty 9.4.18 or later because the following lines in JettyServerImpl:

1 2 // load some other required classes QueuedThreadPool.class.getClassLoader().loadClass("org.eclipse.jetty.util.thread.QueuedThreadPool$1"); QueuedThreadPool.class.getClassLoader().loadClass("org.eclipse.jetty.util.thread.QueuedThreadPool$2");

fail with error:

1 2 3 4 5 6 7 java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.QueuedThreadPool$2 cannot be found by org.eclipse.jetty.util_9.4.19.v20190610 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:508) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:359)

 

Environment

None

Status

Assignee

Grzegorz Grzybek

Reporter

GianMaria Romanato

Labels

None

Components

Fix versions

Affects versions

7.3.3

Priority

Blocker