diff options
Diffstat (limited to 'libjava/classpath/java/nio/LongBuffer.java')
-rw-r--r-- | libjava/classpath/java/nio/LongBuffer.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libjava/classpath/java/nio/LongBuffer.java b/libjava/classpath/java/nio/LongBuffer.java index 9c3bfa62741..1195cc88ce2 100644 --- a/libjava/classpath/java/nio/LongBuffer.java +++ b/libjava/classpath/java/nio/LongBuffer.java @@ -38,19 +38,24 @@ exception statement from your version. */ package java.nio; +// GCJ LOCAL: Change gnu.classpath.Pointer to RawData +import gnu.gcj.RawData; + /** * @since 1.4 */ public abstract class LongBuffer extends Buffer implements Comparable<LongBuffer> { - int array_offset; - long[] backing_buffer; + final int array_offset; + final long[] backing_buffer; - LongBuffer (int capacity, int limit, int position, int mark) + LongBuffer (int capacity, int limit, int position, int mark, + RawData address, long[] backing_buffer, int array_offset) { - super (capacity, limit, position, mark); - array_offset = 0; + super (capacity, limit, position, mark, address); + this.backing_buffer = backing_buffer; + this.array_offset = array_offset; } /** |