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

ClassLoadingAwareObjectInputStream no longer handles void type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.11.1
    • Fix Version/s: 5.12.0
    • Component/s: None
    • Labels:
      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. Consumer.java
          1 kB
          Peter Weiss
        2. ObjectMsgPayload.java
          0.3 kB
          Peter Weiss
        3. Producer.java
          1 kB
          Peter Weiss
        4. proposed_diffs.txt
          0.1 kB
          Peter Weiss

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              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