activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Baptiste FERAND (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2237) CLONE -ClassLoadingAwareObjectInputStream cannot load primary classes
Date Thu, 30 Apr 2009 13:59:38 GMT
CLONE -ClassLoadingAwareObjectInputStream cannot load primary classes
---------------------------------------------------------------------

                 Key: AMQ-2237
                 URL: https://issues.apache.org/activemq/browse/AMQ-2237
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.1.0
            Reporter: Jean-Baptiste FERAND
            Assignee: Rob Davies
             Fix For: 5.1.0


When deserializing a message contents the ClassLoadingAwareObjectInputStream loads any missing
classes. However, it cannot load the classes that correspond with the primitive types, i.e.
when a class named "int" is to be loaded it does not return int.class but instead throws a
ClassNotFoundException.

A patch is attached. The princple has been copied from ObjectInputStream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message