[ 
https://issues.apache.org/jira/browse/ARTEMIS-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3466:
-----------------------------------
    Summary: byte arrays are shown with negative hex numbers  (was: byte arrays 
are show with negative hex numbers)

> 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
>
>
> 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)

Reply via email to