[CXF-8363]Jetty certificate hot reload throws exception due to usage of depreciated SslContextFactory
@@ -625,7 +625,7 @@ public class JettyHTTPServerEngine implements ServerEngine {
// now we just use the SelectChannelConnector as the default connector
SslContextFactory sslcf = null;
if (tlsServerParameters != null) {
- sslcf = new SslContextFactory() {
+ sslcf = new SslContextFactory.Server() {
protected void doStart() throws Exception {
setSslContext(createSSLContext(this));
super.doStart();
