gwt /
gwt /
d8276d7b73a7fd8b10af2196e6be34ce817c62af This patch addresses issue #17 by getting RebindOracle out of the business of worrying about instantiability and only trying to instantiate the entry point class if onModuleLoad() is non-static. In addition to allowing uninstantiable classes to be used as entry points, it also clears up a discrepancy between hosted mode and web mode; in web mode classes with static entry points are not auto-instantiated, but in hosted mode they were being instantiated before the static onModuleLoad was called. Also resolves an issue where a superclass implementing onModuleLoad would not register if a subclass was the entry point.
- Removed a stray System.err.println() that really isn't needed.
- Doc tweak to EntryPoint.onModuleLoad()
Review by: bruce
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@463 8db76d5a-ed1c-0410-87a9-c151d255dfc7
7 files changed