--- 17/hotspot/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp 2007-11-05 19:28:55.580442000 +0100 +++ 17_adapted/hotspot/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp 2007-11-05 16:24:04.258638000 +0100 @@ -78,7 +78,7 @@ #define LOCALS_SLOT(offset) ((intptr_t*)&locals[-(offset)]) #define LOCALS_ADDR(offset) ((address)locals[-(offset)]) -#define LOCALS_INT(offset) ((jint)(locals[-(offset)])) +#define LOCALS_INT(offset) (*((jint*)&locals[-(offset)])) #define LOCALS_FLOAT(offset) (*((jfloat*)&locals[-(offset)])) #define LOCALS_OBJECT(offset) ((oop)locals[-(offset)]) #define LOCALS_DOUBLE(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->d)