Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5921

ClassLoadingAwareObjectInputStream no longer handles void type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.11.1
    • 5.12.0
    • None
    • None

    Description

      The change made in AMQ-1584 changed how primitive classes are handled which is fine, but it got rid of the check for "void".

      Just need to add a check to the end of the "loadSimpleType(String name)" method:

      ...
      else if ("void".equals(name)) {
      return void.class;
      }
      ...

      Attachments

        1. ObjectMsgPayload.java
          0.3 kB
          Peter Weiss
        2. Consumer.java
          1 kB
          Peter Weiss
        3. Producer.java
          1 kB
          Peter Weiss
        4. proposed_diffs.txt
          0.1 kB
          Peter Weiss

        Activity

          People

            Unassigned Unassigned
            pmweiss Peter Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified