Skip to content

Print content of array attribute values #6

@vapre

Description

@vapre

The InputArguments attribute returns a array of String objects.

Jmxbox currently outputs the address of the array - not the content of the array.

Example output:
InputArguments, Result : [Ljava.lang.String;@29cc29

java -jar ./lib/jmxbox-0.2.0.jar -readAttribute 'java.lang:type=Runtime;InputArguments'

Please add a feature that displays all elements in the string array.
Please optionally add a feature that allows you to retreive the length of the array and a way to get a certain element from the array.

Currently you cannot validate if a certain JVM input argument was set or not.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions