Uploaded image for project: 'Commons Modeler'
  1. Commons Modeler
  2. MODELER-5

[modeler] setServer stack overflow

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      34064

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mstanley@mstanley.net Mike Stanley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: