Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3466

byte arrays are shown with negative hex numbers

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.0
    • 2.19.0
    • Web Console
    • None

    Description

      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.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            erwindon Erwin Dondorp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment