Numerous fixes to compiler and verifier for cts vm-tests.

ClassNotFoundExceptions in ResolveType are converted to
NoClassDefFoundErrors.

Compiler checks for puts into final fields.

Method resolution searches direct methods if an appropriate virtual
method can't be found.

Invocations of <clinit> are rejected by the verifier.

Invoke-super and invoke-virtual can't be used on private methods.

Using invoke-interface on non-interface methods and not using
invoke-interface on interface methods leads do an error.

Change-Id: Ia589f1ffccf91b62812ee34c8c5fae1aaf3798c6
diff --git a/src/class_linker.h b/src/class_linker.h
index d90ac1d..f9c190e 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -441,6 +441,7 @@
     kDalvikSystemBaseDexClassLoader,
     kDalvikSystemPathClassLoader,
     kJavaLangThrowable,
+    kJavaLangClassNotFoundException,
     kJavaLangStackTraceElement,
     kPrimitiveBoolean,
     kPrimitiveByte,