[abc] Re: [Fwd: abc exception] (fwd)

From: Pavel Avgustinov <pavel.avgustinov@magdalen.oxford.ac.uk>
Date: Wed Dec 01 2004 - 08:50:54 GMT

Surely this is the familiar package/directory structure contention
issue? He tries to define classes in package antz.* in a file in
directory . , which we don't support... (just looking at the error
messages here)

- P

Oege de Moor wrote:

>just forwarding it here so we don't forget to investigate...
>
>---------- Forwarded message ----------
>Date: Wed, 01 Dec 2004 02:47:10 +0000
>From: Duncan Coutts <duncan.coutts@worcester.oxford.ac.uk>
>To: Oege de Moor <Oege.de.Moor@comlab.ox.ac.uk>
>Subject: [Fwd: abc exception]
>
>Hi Oege,
>
>One of the OOD students program's works with ajc but causes an internal
>compiler error in abc v1.0.
>
>Here's his description and the source code is attached.
>
>I've not tried to reproduce it yet and I can't remember which module the
>exception started in, but I do recall that it was a null pointer
>exception.
>
>Duncan
>
>-------- Forwarded Message --------
>
>
>>From: Elcin Recebli <elcin.recebli@wolfson.oxford.ac.uk>
>>To: Duncan.Coutts@comlab.ox.ac.uk
>>Subject: abc exception
>>Date: Wed, 1 Dec 2004 02:13:15 -0000
>>Hi, Duncan,
>>
>>Sending you the files that caused the exception in abc. The problem
>>arises when you try to compile GraphicalViewer.java. It is dependent
>>on Antz.java and AntzViewer.java, so the actual command is
>>
>>$ abc Antz.java AntzViewer.java GraphicalViewer.java.
>>
>>Also, when you include any package declaration as the first line in
>>the Antz.java, the abc compiler would complain (though javac has no
>>prob with that):
>>
>>$ abc Antz.java
>>abc: public class antz.Antz cannot be defined in file Antz.java
>>abc: class antz.Dir cannot be defined in file Antz.java
>>abc: class antz.Color cannot be defined in file Antz.java
>>abc: class antz.LeftOrRight cannot be defined in file Antz.java
>>... etc. ...
>>
>>Hope this will be helpful.
>>
>>Regards,
>>Elcin
>>
Received on Wed Dec 1 08:50:51 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 01 2004 - 09:10:03 GMT