Status: New
Owner: ----
New issue 30 by
moru0...@gmail.com: Invalid object state for classes
defining public default constructor
https://code.google.com/p/objenesis/issues/detail?id=30
just found while adapting fast serialization (github) to android.
What steps will reproduce the problem?
1. Create Externalizable ArrayList Subclass
2. use objenesis new instance
3. add an element to the arraylist subclass (=> exception)
What is the expected output? What do you see instead?
no excpetion
What version of the product are you using? On what operating system?
2.1
Please provide any additional information below.
the issue is, SunReflectionFactoryInstantiator always uses
the "newConstructorForSerialization". However if there is public noarg
constructor for an externalizable, this should be used instead (else
initial state might be wrong).
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings