*** 49,56 **** return unsafe.getIntVolatile(this, f_int_off); } public int testObj() { ! return ((Integer)unsafe.getObjectVolatile(this, f_obj_off)); } } --- 49,56 ---- return unsafe.getIntVolatile(this, f_int_off); } public int testObj() { ! return ((Integer)unsafe.getReferenceVolatile(this, f_obj_off)); } }