libjava broken

Michael Koch konqueror@gmx.de
Mon Oct 7 06:14:00 GMT 2002


Am Montag, 7. Oktober 2002 14:30 schrieb Andreas Jaeger:
> I cannot build libjava at the moment, it fails with:
>
> /usr/src/aj/build/gcc/gcc/gcj
> -B/usr/src/aj/build/gcc/x86_64-unknown-linux-gnu/libjava/
> -B/usr/src/aj/build/gcc/gcc/ --encoding=UTF-8 -C -g -classpath ''
> -bootclasspath
> /usr/src/aj/build/gcc/x86_64-unknown-linux-gnu/libjava:/cvs/gcc/lib
>java \ -d /usr/src/aj/build/gcc/x86_64-unknown-linux-gnu/libjava
> /cvs/gcc/libjava/java/nio/channels/ByteChannel.java
> /cvs/gcc/libjava/java/nio/channels/ReadableByteChannel.java:41:
> error: Class or interface `java.nio.ByteBuffer' not found in
> import. import java.nio.ByteBuffer;
>           ^
> /cvs/gcc/libjava/java/nio/channels/ReadableByteChannel.java:58:
> error: Type `ByteBuffer' not found in the declaration of the
> argument `dst' of method `read'. public int read (ByteBuffer dst)
> throws IOException;
>                       ^
> /cvs/gcc/libjava/java/nio/channels/WritableByteChannel.java:41:
> error: Class or interface `java.nio.ByteBuffer' not found in
> import. import java.nio.ByteBuffer;
>           ^
> /cvs/gcc/libjava/java/nio/channels/WritableByteChannel.java:59:
> error: Type `ByteBuffer' not found in the declaration of the
> argument `src' of method `write'. public int write(ByteBuffer src)
> throws IOException;
>                       ^
> 4 errors
> make[1]: *** [java/nio/channels/ByteChannel.class] Error 1

Should be fixed now, I commit a fix. I hope I got all. I'm currrently 
recompiling a clean tree but my computer isnt very fast .....


Michael
-- 
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg



More information about the Gcc-bugs mailing list