Index: src/main/java/common/org/apache/harmony/awt/nativebridge/PointerPointer.java =================================================================== --- src/main/java/common/org/apache/harmony/awt/nativebridge/PointerPointer.java (revision 482554) +++ src/main/java/common/org/apache/harmony/awt/nativebridge/PointerPointer.java (working copy) @@ -60,24 +60,24 @@ /** returns the element at the specified position. */ public VoidPointer get(int index) { - long addr = byteBase.getAddress(index); + long addr = byteBase.getAddress(index * PP_SIZE_FACTOR); return (addr != 0) ? new Int8Pointer(addr) : null; } /** returns the element at the specified position. */ public long getAddress(int index) { - return byteBase.getAddress(index); + return byteBase.getAddress(index * PP_SIZE_FACTOR); } /** sets the element at the specified position. */ public void set(int index, VoidPointer value) { - byteBase.setAddress(index, value.lock()); + byteBase.setAddress(index * PP_SIZE_FACTOR, value.lock()); value.release(); } /** sets the element at the specified position. */ public void setAddress(int index, long value) { - byteBase.setAddress(index, value); + byteBase.setAddress(index * PP_SIZE_FACTOR, value); } /**