[jdom-interest] java 1.1 exception
Michael Salmon
ms at speakeasy.net
Tue May 21 11:58:13 PDT 2002
hi folks,
curious if anyone has seen an error similar to this when deserializing
a Document in java 1.1.
java.io.InvalidClassException: com.sun.java.util.collections.AbstractList; IllegalAccessException
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:945)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:284)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:403)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:985)
* at java.io.ObjectInputStream.readObject(ObjectInputStream.java:284)
at TestApplet.run(TestApplet.java:32)
at java.lang.Thread.run(Thread.java:504)
I have tested that the serialized object stream im reading from is valid
with a newer jdk and in TestApplet that the exception is thrown from, the
objectinputstream object is valid when I read from it.
I am looking at classes in jdom that extend collections, ContentList,
AttributeList and changed the private classes to public and did the same for
their inner-classes. That did not fix it though.
I also tried building jdom with ant, target=1.1, rebuilding my app with
the changed jdom and rewriting my serialized object with the new program.
thanks,
ms
More information about the jdom-interest
mailing list