classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failure


From: Eric Blake
Subject: Re: build failure
Date: Fri, 15 Nov 2002 07:31:46 -0700
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

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             address@hidden
  BYU student, free software programmer






reply via email to

[Prev in Thread] Current Thread [Next in Thread]