Does a better job of code splitting for static fields.  Previously,
there was a bug where a field could get loaded but initialized
to a string literal that had not yet been loaded.  This revision
fixes that bug.  Additionally, static fields can now be moved out
of the initial download.  Further, for fields initialized to string literals,
the string literals are loaded in the fragment the field is first used in,
not necessarily the fragment the enclosing class's initializer
runs in.  That way, the strings for different fields can be loaded
in different fragments.

Review by: kprobst

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