2003-06-19 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 19 Jun 2003 09:33:58 +0000 (09:33 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 19 Jun 2003 09:33:58 +0000 (09:33 +0000)
* gnu/java/nio/FileChannelImpl.java
(map_address): Made public.
(FileChannelImpl): Merged with classpath.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Commented out unused arguments.
(nio_unmmap_file): Likewise.
(niu_msync): Likewise.

From-SVN: r68186

libjava/ChangeLog
libjava/gnu/java/nio/FileChannelImpl.java
libjava/gnu/java/nio/natFileChannelImpl.cc

index eccedbcc3d7dd1c4371fecf8e373e0c9095e918d..e2a6eca6315cb8d41fe64a00725f15577ad44f38 100644 (file)
@@ -1,3 +1,13 @@
+2003-06-19  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/nio/FileChannelImpl.java
+       (map_address): Made public.
+       (FileChannelImpl): Merged with classpath.
+       * gnu/java/nio/natFileChannelImpl.cc
+       (nio_mmap_file): Commented out unused arguments.
+       (nio_unmmap_file): Likewise.
+       (niu_msync): Likewise.
+
 2003-06-19  Michael Koch  <konqueror@gmx.de>
 
        * java/awt/image/IndexColorModel.java:
index cedf39786826ef7726440ee6b2e978575997b037..392f479172cdf3d872060261ce4bb01ad69458c1 100644 (file)
@@ -65,7 +65,7 @@ import gnu.gcj.RawData;
 
 public class FileChannelImpl extends FileChannel
 {
-  RawData map_address;
+  public RawData map_address;
   
   int length;
   FileDescriptor fd;
@@ -85,7 +85,7 @@ public class FileChannelImpl extends FileChannel
 
   public FileChannelImpl ()
   {
-    this (new FileDescriptor (-1), true, null);
+    this (new FileDescriptor (), true, null);
   }
 
   private native long implPosition ();
index 0bc0919672386ffc53b8850da1c4daa6d029e5bd..6119775d55aad84fe471e8e6cbd0569979dc63aa 100644 (file)
@@ -73,20 +73,22 @@ gnu::java::nio::FileChannelImpl::implTruncate (jlong size)
 }
 
 gnu::gcj::RawData*
-gnu::java::nio::FileChannelImpl::nio_mmap_file (jlong pos, jlong size,
+gnu::java::nio::FileChannelImpl::nio_mmap_file (jlong /*pos*/, jlong /*size*/,
                                                 jint /*mode*/)
 {
   throw new ::java::io::IOException (JvNewStringUTF ("mmap not implemented"));
 }
 
 void
-gnu::java::nio::FileChannelImpl::nio_unmmap_file (gnu::gcj::RawData* map_address, jint size)
+gnu::java::nio::FileChannelImpl::nio_unmmap_file (gnu::gcj::RawData* /*address*/,
+                                                 jint /*size*/)
 {
   throw new ::java::io::IOException (JvNewStringUTF ("munmap not implemented"));
 }
 
 void
-gnu::java::nio::FileChannelImpl::nio_msync (gnu::gcj::RawData* map_address, jint length)
+gnu::java::nio::FileChannelImpl::nio_msync (gnu::gcj::RawData* /*map_address*/,
+                                           jint /*length*/)
 {
   throw new ::java::io::IOException (JvNewStringUTF ("msync not implemented"));
 }