diff options
Diffstat (limited to 'libjava/classpath/java/nio/DoubleBuffer.java')
-rw-r--r-- | libjava/classpath/java/nio/DoubleBuffer.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libjava/classpath/java/nio/DoubleBuffer.java b/libjava/classpath/java/nio/DoubleBuffer.java index be7861cbd5e..1a51f1889be 100644 --- a/libjava/classpath/java/nio/DoubleBuffer.java +++ b/libjava/classpath/java/nio/DoubleBuffer.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 DoubleBuffer extends Buffer implements Comparable<DoubleBuffer> { - int array_offset; - double[] backing_buffer; + final int array_offset; + final double[] backing_buffer; - DoubleBuffer (int capacity, int limit, int position, int mark) + DoubleBuffer (int capacity, int limit, int position, int mark, + RawData address, double[] 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; } /** |