Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6354565

MBeans tab: Operation invocation dialog is empty when an operation returns a Vector

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • tools
    • b65
    • sparc
    • generic
    • Verified

      Description:
      I have a MBean, which returns Vector, Operation invocation cases a screen without any button to return, only way come out the dialog box is close it, with click on (X) ( one of min, max, close options of that dialog box).

      How to reproduce that.
      Precondition ::
      1) Define public Vector returnVector(); method in XXXMBean interface
      2) implement this method in XXXBean and return a empty Vector
      3) create an instance of this Mbean and deploy.
      4) Start a java app which deployes.
      scenario ::
      1) start jconsole.
      2) connect with connection dialog box to previous java app (which has mbean).
      3) In mbean tab -> tree->thisMbean
      4) open this and click on Operations.
      -- you should see returnVector() , button clickable and shows return type as java.util.Vector.
      5) click on this button and you will see a small dialog box poping up. with title 'Operation return value'
      6) The diaglog box doesn;t show any thing or it has any button to return back,

      Expected ::
      1) a return as (vector.toString() possible)
      2) a botton "OK" on like for any method that returns

      It can happen it any platforms.

            lmalvent Luis-Miguel Alventosa (Inactive)
            vvegurusunw Viswadeep Veguru (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: