You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/08/07 17:01:46 UTC

[jira] [Resolved] (AMQ-5921) ClassLoadingAwareObjectInputStream no longer handles void type

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

Timothy Bish resolved AMQ-5921.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 5.12.0

Created a unit test from the files provided and applied the fix, thanks!

> ClassLoadingAwareObjectInputStream no longer handles void type
> --------------------------------------------------------------
>
>                 Key: AMQ-5921
>                 URL: https://issues.apache.org/jira/browse/AMQ-5921
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.11.1
>            Reporter: Peter Weiss
>            Priority: Minor
>             Fix For: 5.12.0
>
>         Attachments: Consumer.java, ObjectMsgPayload.java, Producer.java, proposed_diffs.txt
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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;
> }
> ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)