activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5921) ClassLoadingAwareObjectInputStream no longer handles void type
Date Thu, 06 Aug 2015 17:12:07 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660368#comment-14660368
] 

Timothy Bish commented on AMQ-5921:
-----------------------------------

A good way to progress this is to provide a test case that shows the problem. 

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

Mime
View raw message