commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34064] New: - [modeler] setServer stack overflow
Date Thu, 17 Mar 2005 21:35:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34064

           Summary: [modeler] setServer stack overflow
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Modeler
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: mstanley@mstanley.net


deprecated method 'public void static setServer(MBeanServer mbeanServer)' simply
doesn't work.  It recursively calls itself, until a stack overflow occurs.  This
method is already deprecated (presumably because it's static), but it probably
should be removed.  No need to hold backwards compatibility to a method that
doesn't work.  Alternatively change the body to
Registry.getRegistry().setMBeanServer(mbeanServer), however, for some reason
that method has been deprecated in the HEAD.  I figured that was deprecated
since it may have been considered redundant - but it's the one that works.

Thanks
- mstan

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message