Fix the compiler to resolve against the boot class loader first.

I encountered a bug due to vogar including its own ancient copy
of Kxml. We were using vogar's Kxml at compile time and the boot
class path's Kxml at runtime, resulting in incorrect behavior.

This fixes the class linker to use the same parent-first strategy
in the compiler as in the runtime.

The result is that compiling vogar with the ancient Kxml will now
crash the compiler (fail fast) rather than doing undefined bad
things at runtime.

I've opened bug http://b/5663506 to fix the compiler to throw
linkage errors at runtime rather than crashing.

Change-Id: I60702e8687f1b763b58895e7f75c6abeb32a11a0
1 file changed
tree: 28bca21edf8cc3695c97d2d418ab91910e0bdf85
  2. build/
  3. oat_process/
  4. oat_runtime/
  5. src/
  6. test/
  7. tools/