summaryrefslogtreecommitdiffstats
path: root/libjava/java/nio/ShortBuffer.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/ShortBuffer.java')
-rw-r--r--libjava/java/nio/ShortBuffer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/nio/ShortBuffer.java b/libjava/java/nio/ShortBuffer.java
index 08c05c40404..512c9fd8bec 100644
--- a/libjava/java/nio/ShortBuffer.java
+++ b/libjava/java/nio/ShortBuffer.java
@@ -46,7 +46,7 @@ public abstract class ShortBuffer extends Buffer implements Comparable
public static ShortBuffer allocateDirect(int capacity)
{
- return new ShortBufferImpl(capacity, 0, capacity);
+ throw new Error ("direct buffers not implemented");
}
public static ShortBuffer allocate(int capacity)
OpenPOWER on IntegriCloud