* src/vmcore/class.c (class_define): Added protection domain to
signature.
(class_resolve_superclass): Some changes (not yet correct).
(class_issubclass): Added assert to see if super is resolved.
* src/vmcore/class.h (classinfo) [ENABLE_JAVASE &&
WITH_CLASSPATH_SUN]: Added protectiondomain.
* src/native/jni.c (_Jv_JNI_DefineClass): Pass protection domain to
class_define.
* src/native/vm/java_lang_ClassLoader.c (defineClass): Likewise.
* src/native/vm/sun_misc_Unsafe.c (unistd.h): Added.
(vm/builtin.h): Likewise.
(putShort__Ljava_lang_Object_2JS): Implemented.
(putFloat__Ljava_lang_Object_2JF): Likewise
(putInt__JI): Likewise
(pageSize): Likewise
(allocateInstance): Likewise
(getLongVolatile): Likewise
(defineClass__Ljava_lang_String_2_3BIILjava_lang_ClassLoader_2Ljava_security_ProtectionDomain_2):
Pass protection domain to class_define.
* src/native/vm/sun/jvm.c (threads/threads-common.h): Added.
(vm/signallocal.h): Likewise.
(PRINTJVMWARNINGS): New macro (not enabled yet).
(JVM_MaxMemory): Implemented.
(JVM_EnableCompiler): Likewise.
(JVM_DisableCompiler): Likewise.
(JVM_ResolveClass): Likewise.
(JVM_GetClassSignature): Likewise.
(JVM_Yield): Likewise.
(JVM_GetThreadStateValues): Likewise.
(JVM_GetThreadStateNames): Likewise.
(JVM_RegisterSignal): Likewise.
(JVM_FindSignal): Likewise.
(JVM_DefineClassWithSource): Pass protection domain to class_define.
(JVM_DesiredAssertionStatus): Return false for now.
(JVM_Available): Only ioctl is a correct implementation.