AI 148774: CTS Fix problem with VM tests when CTS_PATH is not absolute
  If the repository path given to CTS (constructed from the path to the
  host_config.xml and the configured directories in that file) contains
  relative parts (. or ..), then the class loader for the host side tests
  used for the VM tests fails to load the jar. This was exposed by CL148645,
  which added a '..' to the path by default.
  Fix the problem by canonicalizing the JAR path before constructing the
  class loader.
  BUG=1847426

Automated import of CL 148774
3 files changed
tree: f2409b3b8ecbcf4fcd1abb311b08a2ebe51a18a4
  1. tests/
  2. tools/
  3. Android.mk