[jboss-jira] [JBoss JIRA] (JBSER-121) Unable to deserialize java.io.File in java 6
Brad Maxwell (JIRA)
issues at jboss.org
Tue Oct 14 11:18:35 EDT 2014
[ https://issues.jboss.org/browse/JBSER-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011643#comment-13011643 ]
Brad Maxwell commented on JBSER-121:
------------------------------------
JBSER-128 fixes some more serialization issues along with this one.
> Unable to deserialize java.io.File in java 6
> --------------------------------------------
>
> Key: JBSER-121
> URL: https://issues.jboss.org/browse/JBSER-121
> Project: JBoss Serialization
> Issue Type: Bug
> Affects Versions: 1.0.3 GA
> Environment: Windows XP. Java jdk1.6.0_20
> Reporter: Yannick Boucher
> Assignee: Clebert Suconic
> Fix For: 1.0.5.FINAL
>
> Attachments: JBSER-121-ver2.patch, JBSER-121.patch, MyObject.java
>
>
> After investigation the implementation of File changed between java 5 & 6. The new implementation use ObjectInputStream.readFields() instead of ObjectInputStream.defaultReadObject(). After a little more investigation I found that any call to readFields() would throw an exception.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list