Mon Mar 1 2021 05:39:48 UTC
It's not a bug. It's an undocumented feature.
Hide Search Description
ID Product Comp Assignee Status Resolution Summary Changed
57733 Tomcat 8 Catalina dev RESO DUPL ServletContext.getContext(String) always returns null for the root context ("/") 2015-12-30
One bug found.

as

File a new bug in the "Catalina" component of the "Tomcat 8" product