You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2011/08/02 23:32:27 UTC
[jira] [Commented] (FELIX-3064) BundleEvent is not serializable
even though it extends EventObject which implements Serializable
[ https://issues.apache.org/jira/browse/FELIX-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078450#comment-13078450 ]
Richard S. Hall commented on FELIX-3064:
----------------------------------------
I don't think BundleImpl should be serializable, since that doesn't really make much sense, but I'm willing to mark it as transient if BundleEvent if that will help. Sound good?
> BundleEvent is not serializable even though it extends EventObject which implements Serializable
> ------------------------------------------------------------------------------------------------
>
> Key: FELIX-3064
> URL: https://issues.apache.org/jira/browse/FELIX-3064
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-3.2.2
> Environment: Don't believe this is relavent but running on Linux (CentOS), Sun JVM 1.6.0.14
> Reporter: David Humeniuk
>
> When attempting to serialize BundleEvent, it trips up on serializing BundleImpl which would figure to be a member of BundleEvent. BundleImpl would either need to be serialiable or BundleEvent shouldn't try to serialize that actual member.
> This causes a problem for me since I'm using the EventAdmin service to post events through RMI. I would rather not have to put some ugly code that strips out things that say that are serialiable but really aren't.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira