gwt /
gwt /
9f8929709e74f4c34d9ddc0106ad47419dae7e8f Adds Emma integration for client classes running in hosted mode. Here are the key parts:
1) Bridge Emma's RT class. This is necessary to allow classes living in the CCL to access the outside world, in this case the Emma coverage data hook points.
2) Allow instrumented classes to load from disk. This is necessary to pick up the modifications to pre-instrumented classes, which is the most common use case with Emma. This is the only case we currently support, although tobyr has some indication that Java class transformers might also work. We only conditionally read class files off disk because it's slower; you have to stat the class and java files to compare dates, and then actually read the bytes, whereas normally the compiled bytes are already in RAM. Instant hosted mode should level the playing field by always preferring disk.
Review by: bobv
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@3622 8db76d5a-ed1c-0410-87a9-c151d255dfc7
3 files changed