jcricket/gwt-syncproxy

Incorrect SerializationPolicyVersion checking

Closed this issue · 1 comments

in SyncClientSerializationStreamReader.prepareToRead method

Using SERIALIZATION_STREAM_VERSION will cause the code to be compiled with what 
ever version of GWT we are using at that time. (may be compiler optimization). 

Instead of that we have to call 
---------
int expectedVersion=super.getVersion();
super.prepareToRead(encoded);
if (getVersion() != expectedVersion) {
---------

Original issue reported on code.google.com by raj...@vimukti.com on 18 Aug 2011 at 1:46

Fixed by http://code.google.com/p/gwt-syncproxy/source/detail?r=52


Original comment by gwtdevel...@gmail.com on 30 Aug 2011 at 12:35

  • Changed state: Fixed