You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rainer Klute (JIRA)" <ji...@apache.org> on 2008/02/15 10:53:35 UTC
[jira] Created: (AMQ-1584) ClassLoadingAwareObjectInputStream
cannot load primary classes
ClassLoadingAwareObjectInputStream cannot load primary classes
--------------------------------------------------------------
Key: AMQ-1584
URL: https://issues.apache.org/activemq/browse/AMQ-1584
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.1.0
Reporter: Rainer Klute
Fix For: 5.1.0
Attachments: ClassLoadingAwareObjectInputStream.diff
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.
[jira] Resolved: (AMQ-1584) ClassLoadingAwareObjectInputStream
cannot load primary classes
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies resolved AMQ-1584.
-----------------------------
Resolution: Fixed
Added patch in SVN revision 628710
> ClassLoadingAwareObjectInputStream cannot load primary classes
> --------------------------------------------------------------
>
> Key: AMQ-1584
> URL: https://issues.apache.org/activemq/browse/AMQ-1584
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.1.0
> Reporter: Rainer Klute
> Assignee: Rob Davies
> Fix For: 5.1.0
>
> Attachments: ClassLoadingAwareObjectInputStream.diff
>
> Original Estimate: 5 minutes
> Remaining Estimate: 5 minutes
>
> 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.
[jira] Assigned: (AMQ-1584) ClassLoadingAwareObjectInputStream
cannot load primary classes
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies reassigned AMQ-1584:
-------------------------------
Assignee: Rob Davies
> ClassLoadingAwareObjectInputStream cannot load primary classes
> --------------------------------------------------------------
>
> Key: AMQ-1584
> URL: https://issues.apache.org/activemq/browse/AMQ-1584
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.1.0
> Reporter: Rainer Klute
> Assignee: Rob Davies
> Fix For: 5.1.0
>
> Attachments: ClassLoadingAwareObjectInputStream.diff
>
> Original Estimate: 5 minutes
> Remaining Estimate: 5 minutes
>
> 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.
[jira] Work started: (AMQ-1584) ClassLoadingAwareObjectInputStream
cannot load primary classes
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on AMQ-1584 started by Rob Davies.
> ClassLoadingAwareObjectInputStream cannot load primary classes
> --------------------------------------------------------------
>
> Key: AMQ-1584
> URL: https://issues.apache.org/activemq/browse/AMQ-1584
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.1.0
> Reporter: Rainer Klute
> Assignee: Rob Davies
> Fix For: 5.1.0
>
> Attachments: ClassLoadingAwareObjectInputStream.diff
>
> Original Estimate: 5 minutes
> Remaining Estimate: 5 minutes
>
> 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.