Fixes a race condition while trying to reset the accessibility state of Field objects during serialization.  It turns out that this was not necessary because reflection will return a copy of this state when Class.getDeclaredFields() is called.  

Also, changed the visibility of the SerializationUtil class to prevent the field instances from leaking out beyond the RPC system.

Found by: tobyr
Review by: tobyr (deskcheck)

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1940 8db76d5a-ed1c-0410-87a9-c151d255dfc7
3 files changed