bugfix jdk-compatibility
fixes for following weird combinations
- writeMethod, but no readMethod defined
- readMethod, but no writeMethod defined
- use defaultWriteObject, read with readFields()
- use defaultWriteObject, read with readObject()
- use writeObject, read with defaultReadObject()
[there could be even more combinations, but I did not find sample classes in JDK, I'll fix as they come]
Testclasses:
- BigDecimal (uses putField, writes old fields from jdk 1.02 ?)
- javax.security.auth.Subject (synchronizedSets)
- HtmlEditorKit (all kind of weird stuff)
- HtmlDocument (moar weird stuff)
- Inet6Address
don't hesitate to report compatibility issues (aka works with jdk object stream but not with fst).