gwt /
gwt /
40b80b640a24452fbd914729f1abcebbdf2c8ccc Fixes issue #2379; unstable generators should not crash the compiler or hosted mode.
- StandardRebindOracle is retrofitted to always cache rebind results, so that the same input type is never run twice in the same compilation.
- Doc on PropertyOracle updated to insist on stable results (StaticPropertyOracle does this now, but used to violate this; it would not have been possible to make StandardRebindOracle cache before).
- CompilationRebindOracle is removed since the caching behavior is now handled by StandardRebindOracle
- Unit test added to make sure multiple requests of the same type return a stable result.
This may also speed up hosted mode startup slightly in cases where the same type is requested many times through GWT.create().
Review by: spoon
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@3560 8db76d5a-ed1c-0410-87a9-c151d255dfc7
7 files changed