Tom Tromey wrote:
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
I fixed the imports, but setting the field cap across package boundaries is more difficult. I think java.nio.Buffer needs to be rewritten to store its data in public fields in a helper class in gnu.java.nio.Buffer, rather than in default fields directly in Buffer. Otherwise, the implementation classes need to be moved to package java.nio. Also, it looks like several of the files in gnu.java.nio were generated by using a pre-processor; that should be better documented, and a script for automatically regenerating them be stored in CVS along with the .cpp files.


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.

--
This signature intentionally left boring.

Eric Blake             [EMAIL PROTECTED]
  BYU student, free software programmer




_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to