This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH to optimize two Channels methods
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: Richard Earnshaw <rearnsha at arm dot com>, Per Bothner <per at bothner dot com>, java-patches at gcc dot gnu dot org
- Date: Tue, 09 Mar 2004 12:09:37 +0000
- Subject: Re: PATCH to optimize two Channels methods
- Organization: ARM Ltd.
- Reply-to: Richard Earnshaw <rearnsha at arm dot com>
> Am Dienstag, 9. März 2004 12:59 schrieb Richard Earnshaw:
> > konqueror@gmx.de said:
> > > Another iteration of the patch as I forgot the include files.
> >
> > nope, still not there yet, I guess there's yet another header file
> > missing
>
> no, I did one type and forgot to delete something. Try the attached
> please. Sorry to need to bother you so much today.
>
A bit better, but still not quite there yet...
gnu/java/nio/channels/natFileChannelImpl.cc:110: error: no `void
gnu::java::nio::channels::FileChannelImpl::close()' member function
declared in class `gnu::java::nio::channels::FileChannelImpl'
gnu/java/nio/channels/natFileChannelImpl.cc:115: error: Java method 'void
gnu::java::nio::channels::FileChannelImpl::setLength(long int)' has
non-Java parameter type `long int'
gnu/java/nio/channels/natFileChannelImpl.cc:120: error: prototype for
`jint gnu::java::nio::channels::FileChannelImpl::seek(jlong, jint,
jboolean)' does not match any in class `gnu::java::nio::channels::FileChann
elImpl'
./gnu/java/nio/channels/FileChannelImpl.h:58: error: candidate is: void
gnu::java::nio::channels::FileChannelImpl::seek(jlong)
gnu/java/nio/channels/natFileChannelImpl.cc:127: error: no `jlong
gnu::java::nio::channels::FileChannelImpl::getLength()' member function
declared in class `gnu::java::nio::channels::FileChannelImpl'
gnu/java/nio/channels/natFileChannelImpl.cc:133: error: no `jlong
gnu::java::nio::channels::FileChannelImpl::getFilePointer()' member
function declared in class `gnu::java::nio::channels::FileChannelImpl'
gnu/java/nio/channels/natFileChannelImpl.cc:157: error: prototype for
`void gnu::java::nio::channels::FileChannelImpl::lock(jlong, jint,
jboolean)' does not match any in class `gnu::java::nio::channels::FileChann
elImpl'
./gnu/java/nio/channels/FileChannelImpl.h:91: error: candidates are:
virtual java::nio::channels::FileLock* gnu::java::nio::channels::FileChanne
lImpl::lock(jlong, jlong, jboolean)
./gnu/java/nio/channels/FileChannelImpl.h:89: error:
jboolean gnu::java::nio::channels::FileChannelImpl::lock(jlong, jlong,
jboolean, jboolean)
gnu/java/nio/channels/natFileChannelImpl.cc:164: error: prototype for
`jboolean gnu::java::nio::channels::FileChannelImpl::tryLock(jlong, jint,
jboolean)' does not match any in class `gnu::java::nio::channels::FileChann
elImpl'
./gnu/java/nio/channels/FileChannelImpl.h:87: error: candidate is: virtual
java::nio::channels::FileLock* gnu::java::nio::channels::FileChannelImpl::t
ryLock(jlong, jlong, jboolean)
gnu/java/nio/channels/natFileChannelImpl.cc:171: error: prototype for
`void gnu::java::nio::channels::FileChannelImpl::unlock(jlong, jint)' does
not match any in class `gnu::java::nio::channels::FileChannelImpl'
./gnu/java/nio/channels/FileChannelImpl.h:61: error: candidate is: virtual
void gnu::java::nio::channels::FileChannelImpl::unlock(jlong, jlong)
gnu/java/nio/channels/natFileChannelImpl.cc: In member function `jint
gnu::java::nio::channels::FileChannelImpl::open(java::lang::String*,
jint)':
gnu/java/nio/channels/natFileChannelImpl.cc:86: warning: unused parameter
'path'
gnu/java/nio/channels/natFileChannelImpl.cc:86: warning: unused parameter
'jflags'
gnu/java/nio/channels/natFileChannelImpl.cc: In member function `jint
gnu::java::nio::channels::FileChannelImpl::seek(jlong, jint, jboolean)':
gnu/java/nio/channels/natFileChannelImpl.cc:120: warning: unused parameter
'pos'
gnu/java/nio/channels/natFileChannelImpl.cc:120: warning: unused parameter
'whence'
gnu/java/nio/channels/natFileChannelImpl.cc: In member function `virtual
jint gnu::java::nio::channels::FileChannelImpl::read(JArray<jbyte>*, jint,
jint)':
gnu/java/nio/channels/natFileChannelImpl.cc:145: warning: unused parameter
'buffer'
gnu/java/nio/channels/natFileChannelImpl.cc:145: warning: unused parameter
'offset'
gnu/java/nio/channels/natFileChannelImpl.cc:145: warning: unused parameter
'count'
gnu/java/nio/channels/natFileChannelImpl.cc: In member function `void
gnu::java::nio::channels::FileChannelImpl::lock(jlong, jint, jboolean)':
gnu/java/nio/channels/natFileChannelImpl.cc:157: warning: unused parameter
'pos'
gnu/java/nio/channels/natFileChannelImpl.cc:157: warning: unused parameter
'len'
gnu/java/nio/channels/natFileChannelImpl.cc:157: warning: unused parameter
'shared'
gnu/java/nio/channels/natFileChannelImpl.cc: In member function `jboolean
gnu::java::nio::channels::FileChannelImpl::tryLock(jlong, jint, jboolean)':
gnu/java/nio/channels/natFileChannelImpl.cc:164: warning: unused parameter
'pos'
gnu/java/nio/channels/natFileChannelImpl.cc:164: warning: unused parameter
'len'
gnu/java/nio/channels/natFileChannelImpl.cc:164: warning: unused parameter
'shared'
gnu/java/nio/channels/natFileChannelImpl.cc: In member function `void
gnu::java::nio::channels::FileChannelImpl::unlock(jlong, jint)':
gnu/java/nio/channels/natFileChannelImpl.cc:171: warning: unused parameter
'pos'
gnu/java/nio/channels/natFileChannelImpl.cc:171: warning: unused parameter
'len'