Unwrap CompilationErrors from threads in D8.run()

- Unwrap CompilationErrors in ExecutionException so that they can be
properly reported through the API.
Also some minor changes in VirtualFile:
- Remove useless throw declarations.
- Turn a RuntimeException into a CompilationError.

Bug: 36716620
Change-Id: I5945e0217255a6383c6cab3c88c85f68dbd128a5
4 files changed
tree: f001af9a999d800f538eb052045e8b745c45c35a
  1. buildSrc/
  2. scripts/
  3. src/
  4. tests/
  5. third_party/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. build.gradle
  10. codereview.settings
  11. CONTRIBUTING.md
  12. copyAdditionalJctfCommonFiles.gradle
  13. LICENSE
  14. README.md
README.md

The R8 repo contains two tools.

  1. D8 is a dexer that converts java byte code to dex code.

  2. R8 is a java program shrinking and minification tool.