Bug 61216 - Enhanced output format of CompositeData and TabularData in JMXProxy
Summary: Enhanced output format of CompositeData and TabularData in JMXProxy
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Manager (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-24 22:41 UTC by Alexis Hassler
Modified: 2017-06-26 17:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Hassler 2017-06-24 22:41:46 UTC
CompositeData and TabularData are printed with toString in the Manager JMXProxy. It makes the result hard to read (for a human) and to grep.

CompositeData could be represented as {key1=value1, key2=value2,...}. TabularData could be printed like arrays.
Comment 1 Alexis Hassler 2017-06-24 23:33:07 UTC
PR sent (#67)
Comment 2 Mark Thomas 2017-06-26 17:16:11 UTC
Thanks for the patch. It has been applied to 9.0.c for 9.0.0.M23 onwards.

I'm not planning on back-porting it since, while users should not depend on the exact format out this sort of output, experience is that they do.