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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to