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

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

Peter Weiss created AMQ-5921:
--------------------------------

             Summary: 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


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)