[
https://issues.apache.org/jira/browse/ARTEMIS-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17412822#comment-17412822
]
ASF subversion and git services commented on ARTEMIS-3466:
----------------------------------------------------------
Commit 4dd643cbece19e2f9f06e246403bfade784a582d in activemq-artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=4dd643c ]
ARTEMIS-3466 byte arrays can have negative hex numbers in web console
> byte arrays are shown with negative hex numbers
> -----------------------------------------------
>
> Key: ARTEMIS-3466
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3466
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 2.18.0
> Reporter: Erwin Dondorp
> Priority: Minor
> Attachments: image-2021-09-09-15-50-18-014.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> add messages to a queue that are not text messages.
> view one of those message by using "Browse queue" and then selecting "show"
> on an specific message.
> the console will use a hex-dump to show the message content.
> in there, bytes with a value >= 128 are treated as negative numbers.
> but byte arrays are typically represented as unsigned numbers, and the
> comment "hex and must be 2 digit so they space out evenly" in `browse,js`
> also seems to indicate that that was intended.
>
> !image-2021-09-09-15-50-18-014.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)