Hi, You're right, Kryo is a bit painful. But I definitely think it is worth it. I created https://issues.jasig.org/browse/CAS-1395 to capture this possible improvment even if I'm a bit suspicious on how it can achieve this magic (instantiation without constructor). I just sent a pull request for CAS-1393 : https://github.com/Jasig/cas/pull/367. Best regards, Jérôme
2013/12/2 Marvin Addison <[email protected]> > > I've made further testing on 4.0-RC2 and I encounter a serialization > problem > > with Memcached and proxy. > > I created the JIRA : https://issues.jasig.org/browse/CAS-1393 > > Ugh. More classes we missed with the Kryo serializer. That thing is > proving brittle over time. I think the latest version of Kryo may > provide some opportunity for simplification -- it seemed to have some > additional "magic" for creating instances of classes that lack default > constructors. At present we need custom serializers for that case, and > it's easy to miss things deep down in the object graph. Should > probably create an improvement issue to track research and possible > solutions. > > M > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
