Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
http-2.2.1
-
None
Description
The Jetty server currently announces itself as version "8.y.z-SNAPSHOT" in the ServletContext.getServerInfo() and the Server header.
The fault seems to be that Jetty's Server class inspects the package implementation name and version and does not find it. It then falls back to the jetty.version system property which is not set. Finally it falls back to said version "8.y.z-SNAPSHOT".
The fix is to set the jetty.version system property in the JettyService.getJettyVersion method.