jetty.project
jetty.project copied to clipboard
Review usage of ResourceFactory for favicon and stylesheet
Jetty version(s) 12
Description
Recent CI builds of 12 have failed because mounts have been left for the server.jar for favicon.ico. This should have been closed when the server was stopped, so that is the first issue. But moreover, the mechanism is too expensive to use for favicon.ico, as we need not hold an entire jar in memory as a zipfs when the bytes we need are available via the classloader.