summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/CharBufferImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/nio/CharBufferImpl.java')
-rw-r--r--libjava/gnu/java/nio/CharBufferImpl.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/libjava/gnu/java/nio/CharBufferImpl.java b/libjava/gnu/java/nio/CharBufferImpl.java
index f35ae4b09ff..ca769742cca 100644
--- a/libjava/gnu/java/nio/CharBufferImpl.java
+++ b/libjava/gnu/java/nio/CharBufferImpl.java
@@ -72,25 +72,6 @@ public final class CharBufferImpl extends CharBuffer
private static native char[] nio_cast (byte[] copy);
- CharBufferImpl (byte[] copy)
- {
- super (copy.length / 2, copy.length / 2, 0, 0);
- this.backing_buffer = (copy != null ? nio_cast (copy) : null);
- readOnly = false;
- }
-
- private static native byte nio_get_Byte (CharBufferImpl b, int index, int limit);
-
- private static native void nio_put_Byte (CharBufferImpl b, int index, int limit, byte value);
-
- public ByteBuffer asByteBuffer ()
- {
- ByteBufferImpl res = new ByteBufferImpl (backing_buffer);
- res.limit ((limit () * 1) / 2);
- return res;
- }
-
-
public boolean isReadOnly()
{
return readOnly;