Today I updated and rebuilt classpath.
I use `--with-jikes --with-jni' to compile.
I'm using jikes 1.15.
There were a bunch of errors.
I've appended the build log.
Tom
Making all in lib
make[1]: Entering directory `/home/tromey/gnu/classpath/build/lib'
top_builddir=.. /bin/sh ./gen-classlist.sh standard
top_builddir=.. /bin/sh ./gen-classlist.sh standard
/usr/bin/jikes +F -bootclasspath '' -extdirs '' -sourcepath '' -classpath
../../classpath:../vm/current:.: -d . @classes
Found 1 semantic error compiling "../../classpath/java/nio/channels/FileChannel.java":
70. public abstract MappedByteBuffer map(MapMode mode, long position, int size)
<-------------->
*** Error: Type java/nio/channels/MappedByteBuffer was not found.
Found 4 semantic errors compiling "../../classpath/gnu/java/nio/FileChannelImpl.java":
51. public class FileChannelImpl extends FileChannel
<------------->
*** Error: The abstract method "long write(java.nio.ByteBuffer[] srcs);", inherited
from type "java/nio/channels/GatheringByteChannel", is not implemented in the
non-abstract class "gnu/java/nio/FileChannelImpl".
51. public class FileChannelImpl extends FileChannel
<------------->
*** Error: The abstract method "long read(java.nio.ByteBuffer[] srcs, int offset, int
length);", inherited from type "java/nio/channels/ScatteringByteChannel", is not
implemented in the non-abstract class "gnu/java/nio/FileChannelImpl".
51. public class FileChannelImpl extends FileChannel
<------------->
*** Error: The abstract method "long read(java.nio.ByteBuffer[] srcs);", inherited
from type "java/nio/channels/ScatteringByteChannel", is not implemented in the
non-abstract class "gnu/java/nio/FileChannelImpl".
<-----------------------------------------------
165. public MappedByteBuffer map(java.nio.channels.FileChannel.MapMode mode,
. . .
167. int size) throws IOException
----------------------------------------->
*** Error: The return type of method "java.nio.MappedByteBuffer
map(java.nio.channels.FileChannel$MapMode mode, long position, int size);" does not
match the return type of method "java.nio.channels.MappedByteBuffer
map(java.nio.channels.FileChannel$MapMode mode, long position, int size);" inherited
from type "java/nio/channels/FileChannel".
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/ByteBufferImpl.java":
48. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/ByteBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/ByteBufferImpl" which
is in a different package.
55. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/ByteBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/ByteBufferImpl" which
is in a different package.
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/DoubleBufferImpl.java":
47. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/DoubleBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/DoubleBufferImpl" which
is in a different package.
54. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/DoubleBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/DoubleBufferImpl" which
is in a different package.
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/FloatBufferImpl.java":
47. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/FloatBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/FloatBufferImpl" which
is in a different package.
54. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/FloatBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/FloatBufferImpl" which
is in a different package.
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/LongBufferImpl.java":
47. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/LongBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/LongBufferImpl" which
is in a different package.
54. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/LongBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/LongBufferImpl" which
is in a different package.
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/IntBufferImpl.java":
47. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/IntBuffer" has default access.
Therefore, it is not accessible in class "gnu/java/nio/IntBufferImpl" which is in a
different package.
54. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/IntBuffer" has default access.
Therefore, it is not accessible in class "gnu/java/nio/IntBufferImpl" which is in a
different package.
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/CharBufferImpl.java":
47. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/CharBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/CharBufferImpl" which
is in a different package.
54. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/CharBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/CharBufferImpl" which
is in a different package.
Found 2 semantic errors compiling "../../classpath/gnu/java/nio/ShortBufferImpl.java":
47. this.cap = cap;
<------>
*** Error: The field "cap" contained in class "java/nio/ShortBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/ShortBufferImpl" which
is in a different package.
54. this.cap = array.length;
<------>
*** Error: The field "cap" contained in class "java/nio/ShortBuffer" has default
access. Therefore, it is not accessible in class "gnu/java/nio/ShortBufferImpl" which
is in a different package.
Found 2 semantic errors compiling "../../classpath/java/net/MulticastSocket.java":
164. Enumeration e = netIf.getInetAddresses ();
<--------->
*** Error: Type java/net/Enumeration was not found.
164. Enumeration e = netIf.getInetAddresses ();
<--------------------------->
*** Error: The type of the left-hand side in this assignment, "java/net/Enumeration",
is not compatible with the type of the right-hand side expression,
"java/util/Enumeration".
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/tromey/gnu/classpath/build/lib'
make: *** [all-recursive] Error 1
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath