This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Freenet compilation errors.


"Mark J. Roberts" wrote:

> Freenet/Core.java: In class `Freenet.Conduit':
> Freenet/Core.java: In method `run()':
> Freenet/Core.java:0: bad value constant type 0, index 0
> Please submit a full bug report.
>

I've get this quite often too. IIRC, its related to the bytecode parser. Are
you building from pure source code, or is gcj seeing class files as well? If
so, what did you build those class files with? There might be a PR about this
already.

> .././Core.java: In class `Freenet.Core':
> .././Core.java: In method `init(Freenet.Params)':
> .././Core.java:132: Internal error: Segmentation fault.
> Please submit a full bug report.
>

Compiler bug. Its very useful if you can isolate a small test case for
problems like this. Figuring out the test case often gets us most of the way
towards solving the problem.

> ../node/FileData.java: In class `Freenet.node.FileData$FDataInputStream':
> ../node/FileData.java: In method `Freenet.node.FileData$FDataInputStream(Freenet.node.FileData)':
> ../node/FileData.java:33: Can't reference `this' before the superclass constructor has been called.
>             super(new BufferedInputStream(new FileInputStream(FileData.this.name)));
>                                                                  ^
> ../node/FileDataProperties.java: In class `Freenet.node.FileDataProperties':
> ../node/FileDataProperties.java: In method `store(Freenet.FieldSet)':
> ../node/FileDataProperties.java:81: Can't find constructor `Freenet.node.DataProperties$WrongOrderException()' in type `Freenet.node.DataProperties$WrongOrderException'.
>             throw new DataProperties.WrongOrderException();
>

Ditto. Bugs relating to inner classes.

regards

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]