jcricket / gwt-syncproxy

Provides Synchronous and Asynchronous access to GWT-RPC servlets from Java and Android
http://www.blueesoteric.com/open-source/gwt-syncproxy
Apache License 2.0
23 stars 14 forks source link

Incorrect SerializationPolicyVersion checking #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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