It might be better to apply this fix to StandardHost.findReloadedContextMemoryLeaks(),
as it is equally hard to see an empty string when calling this method through JConsole,
but I am not sure that I want to introduce irregularity into the API.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910612
13f79535-47bb-0310-9956-
ffa450edef68
((StandardHost) host).findReloadedContextMemoryLeaks();
for (String result : results) {
+ if ("".equals(result)) {
+ result = "/";
+ }
writer.println(result);
}
}