JDK-6470730 : Disconnect button leads to wrong popup message
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: sparc
  • Submitted: 2006-09-14
  • Updated: 2013-06-26
  • Resolved: 2013-05-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b93Fixed
Description
Connect to a JMX Agent
Click on disconnect button
A popup is displayed with a message saying that the connection with the remote process has been lost... This is not what happened. The process is not dead, the client disconnected explicitely from the agent. Further more, in order to go back to disconnected JConsole, a user need to click Cancel. If OK is pressed, the Connection is reestablished.

This connection feature seems broken.

What should be expected is :
1 Nothing. Just let the user disconnect because he wants to do it.
2 Or display a popup dialog to confirm that you want to disconnect. If OK is pressed, the connection is disconnected, if cancel is pressed, nothing is Done.

It seems that this behavior has bee nintroduced in Beta 2, it used to be behavior 1 in beta release.

Comments
EVALUATION .
15-09-2006

EVALUATION The dialog behavior is per design, but the message is misleading and needs to be reworded. This is not a regression. Note that when disconnecting, the buttons shown say "Reconnect" and "Cancel". There is no "OK" button.
14-09-2006