[jboss-cvs] JBossAS SVN: r76575 - projects/jboss-deployers/trunk/deployers-core-spi/src/main/org/jboss/deployers/spi/attachments/helpers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 1 09:04:14 EDT 2008
Author: adrian at jboss.org
Date: 2008-08-01 09:04:14 -0400 (Fri, 01 Aug 2008)
New Revision: 76575
Modified:
projects/jboss-deployers/trunk/deployers-core-spi/src/main/org/jboss/deployers/spi/attachments/helpers/ManagedObjectAttachmentsImpl.java
Log:
[JBDEPLOY-69] - Transient managed objects shouldn't be serialized
Modified: projects/jboss-deployers/trunk/deployers-core-spi/src/main/org/jboss/deployers/spi/attachments/helpers/ManagedObjectAttachmentsImpl.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-core-spi/src/main/org/jboss/deployers/spi/attachments/helpers/ManagedObjectAttachmentsImpl.java 2008-08-01 12:50:05 UTC (rev 76574)
+++ projects/jboss-deployers/trunk/deployers-core-spi/src/main/org/jboss/deployers/spi/attachments/helpers/ManagedObjectAttachmentsImpl.java 2008-08-01 13:04:14 UTC (rev 76575)
@@ -41,7 +41,7 @@
private static final long serialVersionUID = -195530143173768763L;
/** The transient managed objects */
- private MutableAttachments transientManagedObjects = AttachmentsFactory.createMutableAttachments();
+ private transient MutableAttachments transientManagedObjects = AttachmentsFactory.createMutableAttachments();
public MutableAttachments getTransientManagedObjects()
{
@@ -51,7 +51,6 @@
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
{
super.readExternal(in);
- transientManagedObjects = (MutableAttachments) in.readObject();
}
/**
@@ -62,6 +61,5 @@
public void writeExternal(ObjectOutput out) throws IOException
{
super.writeExternal(out);
- out.writeObject(transientManagedObjects);
}
}
More information about the jboss-cvs-commits
mailing list