JDK-8030698 : Some messages in jconsole in 7u40 (and later) aren't displayed correctly
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 7u40,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-12-18
  • Updated: 2014-10-15
  • Resolved: 2014-01-01
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.
7u60Fixed 8u20Fixed 9 b01Fixed
When jconsole is launched, its several labels are not formatted correctly

7u60-critical-request justification: - Justification : the problem was raised by a customer, the fix is quite simple, some of the information isn't displayed to the user (such as Thread overview). some of the displayed information is wrong and may confuse a user. - Risk Analysis : Risk of the fix is low - Webrev : http://cr.openjdk.java.net/~igerasim/8030698/0/webrev/ Reviewer: Staffan Larsen http://mail.openjdk.java.net/pipermail/serviceability-dev/2013-December/013672.html - Testing (done/to-be-done) : JPRT job has finished successfully. The testing should be done manually, according to the instruction given above.

Notes for the QA on how to test the fix: 1) Start jconsole, the 'JConsole: New Connection' dialog will appear. 2) If the label is 'Usage: lt;hostnamegt;:...' then the test failed. If the label is 'Usage: <hostname>:...' then the test passed. 3) Choose the JConsole itself from the list of local processes and hit the 'Connect' button. If the app prompts for allowing an insecure connection, agree. The set of pages will be displayed. 4) If the Threads tab on the Overview page has 'ThreadTab.infoLabelFormat' label, then the test failed. If the label displays Live, Peak and Total values, then the test passed. 5) On the VM Summary page, if the Pending finalization value is the constant string '{0} objects', then the test failed. If the label is 'XX objects', where XX is a number without curly braces, then the test passed.

The issue is caused by a huge update https://bugs.openjdk.java.net/browse/JDK-7017818