https://issues.apache.org/bugzilla/show_bug.cgi?id=57420
--- Comment #10 from Violeta Georgieva <violet...@apache.org> --- (In reply to Konstantin Kolinko from comment #7) > (In reply to Violeta Georgieva from comment #6) > > (In reply to Konstantin Kolinko from comment #4) > > > > > UEncoder is used in list(). While it is possible to call list() multiple > > > times, I think that in practice it is called only once. > > > > list() is called many times by > > org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(URL, > > WebXml, boolean) > > > > As we add a save char to UEncoder I do not think that it will be OK to do > > this every time when list() is called. > > > > Wdyt? > > As far as I see, it opens a new DirContextURLConnection each time. While the > method is called many times, a connection is not reused. Thus a class-level > field provides no benefit. > You are right - +1 -- 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