summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/nio/IntBufferImpl.java
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-23 20:19:06 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-23 20:19:06 +0000
commitdea399b9ca84ed668aa3da7477dacd04e0192fa5 (patch)
treee4235e098426338fd3e0a267c1a8652af558814c /libjava/classpath/java/nio/IntBufferImpl.java
parent3d956c0659ce15647c319f5e5988034f9e157095 (diff)
downloadgcc-dea399b9ca84ed668aa3da7477dacd04e0192fa5.tar.gz
2008-10-23 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r141325 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@141329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/nio/IntBufferImpl.java')
-rw-r--r--libjava/classpath/java/nio/IntBufferImpl.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/libjava/classpath/java/nio/IntBufferImpl.java b/libjava/classpath/java/nio/IntBufferImpl.java
index 2bd1842440e..c332715fbda 100644
--- a/libjava/classpath/java/nio/IntBufferImpl.java
+++ b/libjava/classpath/java/nio/IntBufferImpl.java
@@ -43,7 +43,7 @@ package java.nio;
*/
final class IntBufferImpl extends IntBuffer
{
- private boolean readOnly;
+ private final boolean readOnly;
IntBufferImpl (int capacity)
{
@@ -52,9 +52,7 @@ final class IntBufferImpl extends IntBuffer
IntBufferImpl (int[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
{
- super (capacity, limit, position, mark);
- this.backing_buffer = buffer;
- this.array_offset = offset;
+ super (capacity, limit, position, mark, null, buffer, offset);
this.readOnly = readOnly;
}