Changed reinterpret_cast to static_cast
Fixed compiler error casts
Merge remote-tracking branch 'readytalk/master' into jni
Handle null pointer in PopLocalFrame
specify CodeCapacity based on target arch, not build arch
return XToolkit from iOS getPreferredToolkit stub

This is necessary to prevent an NPE in Hashtable.put when
System.initProperites tries to put a null value in the map for
java.awt.graphicsenv.
return unadorned filename from JVM_GetSystemPackage

Package.defineSystemPackage expects a filename, not a URL.
check argument types in JVM_InvokeMethod

Method.invoke must throw an IllegalArgumentException if it receives
the wrong number or types of arguments, and since this isn't done by
the OpenJDK class library, we must do it in the VM.
fix embed.cpp build for 64-bit Windows
fix Windows OpenJDK build
fix incorrect macro name in bootimage.cpp
fix int-to-long conversions from memory on x86_32

The instruction for 32-bit-to-64-bit sign extension on x86_32 requires
that the input value be placed in EAX and the sign extension in EDX.
However, the compiler can get confused if the input value is in memory
addressed via one of those registers and doesn't know how to move it.
This patch works around that limitation by doing the move explicitly
in MemoryEvent::compile if necessary.
fix openjdk bootimage cross builds

We need to extract the OpenJDK classes into the build classpath
directory for the target platform before running the
bootimage-generator, or else it won't be able to find the classes.
revert accidental makefile change
fix handling of unusual exception handler layout

Scala sometimes generates bytecode such that the scope of an exception
handler starts at another exception handler, e.g.:

      Exception table:
         from    to  target type
           290   372   382   any
           382   451   451   any
           290   372   451   any

Avian's compiler was incorrectly initializing the stack frame for the
second handler in this case.  This commit fixes the problem.
remove temporary #error used for debugging

Sorry, that wasn't supposed to be checked in.
Adds code to get the Scala REPL working
Add Class#isEnum and improve error handling in Enum.valueOf
fix handling of classe, method, and field names with non-ASCII characters
ensure joining threads are always notified when a thread exits

Previously, we'd only do this if the thread exited without throwing an
exception.  Now we do it regardless.