-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Labels
Milestone
Description
Per, jetty/jetty.project#4121 QueuedThreadPool implements ThreadFactory, which makes the newThread method public instead of protected. The JettyConnectorThreadPool class in JettyHttpContainerFactory has the newThread method marked as protected, and causes an IllegalAccessError when used at runtime (it also fails to compile if compiled against jetty 9.4.22):
java.lang.IllegalAccessError: 'java.lang.Thread org.glassfish.jersey.jetty.JettyHttpContainerFactory$JettyConnectorThreadPool.newThread(java.lang.Runnable)'
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThread(QueuedThreadPool.java:655)
at org.eclipse.jetty.util.thread.QueuedThreadPool.ensureThreads(QueuedThreadPool.java:642)
at org.eclipse.jetty.util.thread.QueuedThreadPool.doStart(QueuedThreadPool.java:182)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
at org.eclipse.jetty.server.Server.start(Server.java:407)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:106)
at org.eclipse.jetty.server.Server.doStart(Server.java:371)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
at org.glassfish.jersey.jetty.servlet.JettyWebContainerFactory.create(JettyWebContainerFactory.java:257)
at org.glassfish.jersey.jetty.servlet.JettyWebContainerFactory.create(JettyWebContainerFactory.java:282)
Andremoniy and nddipiazza