> Hi I get a serialize exception in a panel of mine its correct that one of the > contained fields cannot be serialized, however this field are injected and > should not be touched by the checker, the field are marked with the @inject > annotation. I'm using guice for injection.. Any thing obvious wrong with this?
Java serialization does not care for that annotation, only whether it is declared transient or sports the Serializable marker interface. Frankly it baffles me that they didn't just default to letting everything be serializable and let the programmer deal with stuff that's not supposed to be, since it otherwise just causes endless exceptions and adding an otherwise pointless interface inheritance... - Tor Iver --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org