This is working towards issue #699. Historically, we have always hung static fields directly on the window object, which works fine in the iframe environment.  Now that we need to run in the outer page, that won't work so well.
- Use "var" decls for all static fields
- No longer ref static fields off the window object, either implicitly or explicitly
- When the static field needs a clinit call, a comma expression is formed
- When the resulting comma expression is the lhs of an assignment, some juggling is performed to avoid an illegal state.

Review by: mmendez


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