libjava broken

Andreas Jaeger aj@suse.de
Mon Oct 7 05:30:00 GMT 2002


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/libjava \
             -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


Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-bugs mailing list