Adding in-code comments about Handler.setServer(Server)

This commit is contained in:
Joakim Erdfelt 2022-08-10 13:01:08 -05:00
parent 9312359b13
commit 3b690fdefd
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public class DefaultHandler extends Handler.Processor
if (getServer() == null)
{
// TODO: investigate why DefaultHandler.setServer(server) is passing null?
// See bug https://github.com/eclipse/jetty.project/issues/8442
LOG.warn("favicon.ico not supported with null Server");
return;
}