commit | dc3bb324ceeaa5e0b42b977b8f92ac7a04bcd5b1 | [log] [tgz] |
---|---|---|
author | Diego Perez <diegoperez@google.com> | Thu Nov 17 13:20:04 2016 +0000 |
committer | Jerome Gaillard <jgaillard@google.com> | Wed Nov 23 11:01:44 2016 +0000 |
tree | 3c1a1ca3420f654e8a4f22eb41d5a816ed4e518c | |
parent | 3e416cf4a8d8c4c4722095979f4cc44a397e7807 [diff] |
Fix tests when running from the command line When loading classes from the jar file, we can't just use the URLClassLoader since it can not enumerate files in a jar directory. Restoring the ModuleClassLoader and making all paths relative to the system class loader (as opposed to relative to the class location). Change-Id: Ib3f5d12dd5c964d0ba9cc6c5ec9cb556c989e653 (cherry picked from commit 2a4a6c81f8a103be5c48d8a0605a3e4416e8f7f1)