commit | 4a43b8564c42de75f577e33b52d1048f6f239ab7 | [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 | 9009e6cc5962bc9667b25fdc7f7212a843356b58 | |
parent | 124716b109bb8658ecad1aaa1539195b555e832a [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)