myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r1070805 - /myfaces/trinidad/branches/1.2.12.5.0-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java
Date Tue, 15 Feb 2011 08:21:56 GMT
Author: matzew
Date: Tue Feb 15 08:21:55 2011
New Revision: 1070805

URL: http://svn.apache.org/viewvc?rev=1070805&view=rev
Log:
TRINIDAD-2023 - CheckSerializationConfigurator should use the Trinidad specific ObjectInputStream
(ObjectInputStreamResolveClass) class

Modified:
    myfaces/trinidad/branches/1.2.12.5.0-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java

Modified: myfaces/trinidad/branches/1.2.12.5.0-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.12.5.0-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java?rev=1070805&r1=1070804&r2=1070805&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.12.5.0-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java
(original)
+++ myfaces/trinidad/branches/1.2.12.5.0-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java
Tue Feb 15 08:21:55 2011
@@ -63,6 +63,7 @@ import org.apache.myfaces.trinidad.util.
 import org.apache.myfaces.trinidad.util.TransientHolder;
 
 import org.apache.myfaces.trinidadinternal.context.external.ServletApplicationMap;
+import org.apache.myfaces.trinidadinternal.util.ObjectInputStreamResolveClass;
 
 /**
  * Configurator that uses both wrapped ExternalContext (for Portlet cases) and wrapped
@@ -561,7 +562,7 @@ public final class CheckSerializationCon
         byte[] copyBytes = Arrays.copyOf(serializedBytes, serializedBytes.length);
         
         ByteArrayInputStream baos = new ByteArrayInputStream(copyBytes);
-        ObjectInputStream ois = new ObjectInputStream(baos);
+        ObjectInputStream ois = new ObjectInputStreamResolveClass(baos);
         deserializedObject = ois.readObject();
         ois.close();
       }



Mime
View raw message