Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6608334
Votes 0
Synopsis JConsole fails to display MBean operation with <null> return type
Category java:jconsole
Reported Against
Release Fixed 7(b25), 6u10(b10) (Bug ID:2157065)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 24-SEP-2007
Description
While trying to display an MBean operation defined in a Dynamic MBean by a custom MBeanInfo.
In this MBeanOperationInfo, if the returnType element is set to null, the JConsole fails to display the operation and a pop-up error window with no message is displayed.
Posted Date : 2007-09-24 16:17:20.0
Work Around
Just use Void.TYPE.getName() instead of <null>
Evaluation
JConsole should display the operation with null as return value such that
it doesn't prevent the user from invoking the operation however it should
log a warning about this fact.
Posted Date : 2007-10-26 14:53:48.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang