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.
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.
- relates to
-
JDK-6352824 MBeans tab: Add separators to arrays/lists/maps/sets/...
-
- Closed
-