diff options
author | jfrijters <jfrijters> | 2011-08-18 16:45:17 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-08-18 16:45:17 +0400 |
commit | 7fcc779c84943ee261502045575bba7c397caeae (patch) | |
tree | 7d4b2567fe85b8d5672acb80e60a2d22ff15ed52 /openjdk/sun/nio/ch/IOUtil.java | |
parent | 4eef39b7c507d518eeb80fc570453e3682d6268d (diff) |
Moved FileChannelImpl read/write operations to NativeDispatcher.
Diffstat (limited to 'openjdk/sun/nio/ch/IOUtil.java')
-rw-r--r-- | openjdk/sun/nio/ch/IOUtil.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openjdk/sun/nio/ch/IOUtil.java b/openjdk/sun/nio/ch/IOUtil.java index dfefbfe8..fe5caaef 100644 --- a/openjdk/sun/nio/ch/IOUtil.java +++ b/openjdk/sun/nio/ch/IOUtil.java @@ -108,6 +108,9 @@ class IOUtil { NativeDispatcher nd, Object lock) throws IOException { + if (position != -1) + throw new ikvm.internal.NotYetImplementedError(); + if (src.hasArray()) { byte[] buf = src.array(); |