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
This archive was generated by hypermail 2.1.8 : Wed Dec 01 2004 - 09:00:03 GMT