https://issues.apache.org/bugzilla/show_bug.cgi?id=44312

--- Comment #6 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to Konstantin Kolinko from comment #4)

> There is also a bug in Mapper.removeHost(name):
> If host with such name is not registered in the mapper, it results in NPE
> at  "if (newHosts[i].object == host)" line.

For a record:
The bug in removeHost(), removeHostAlias() that was fixed here is more serious
than just an NPE.

The bug is that those methods may remove a wrong host.

They remove whatever host is located at hosts[pos], but the find() method does
not return the exact name match, but closest name.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to