tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3699] New: - A recursive function call in org.apache.naming.NamingContext
Date Tue, 18 Sep 2001 19:20:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3699>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3699

A recursive function call in org.apache.naming.NamingContext

           Summary: A recursive function call in
                    org.apache.naming.NamingContext
           Product: Tomcat 4
           Version: 4.0 Release Candidate 2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ygary2@yahoo.com


There is a recurisive call in org.apache.naming.NamingContext

The function is (line 537~540):
    public void destroySubcontext(String name)
        throws NamingException {
        destroySubcontext(name);
    }

It calls itself.

It should be:
    public void destroySubcontext(String name)
        throws NamingException {
        destroySubcontext(new CompositeName(name));
    }

Mime
View raw message