Re: [abc] Bug: Polyglot says Duplicate class

From: Ondrej Lhotak <olhotak@sable.mcgill.ca>
Date: Wed Sep 22 2004 - 16:55:27 BST

I get it with a Polyglot downloaded from
musketeer:/usr/local/src/polyglot-dev/lib/polyglot.jar
this morning. Was this a recent Polyglot bug?

Ondrej

On Wed, Sep 22, 2004 at 03:54:42PM +0100, Oege de Moor wrote:
>
> I thought that was fixed. Are you building Soot with the latest polyglot?
>
> On Wed, 22 Sep 2004, Ondrej Lhotak wrote:
>
> > This is not a bug that I can get in abc, but only in plain Soot.
> > However, it seems like it could be caused by some of the abc-related
> > changes that have been made to Soot, so I'm sending it here.
> >
> > If you create two files, A.java and B.java, containing:
> >
> > class A {
> > }
> >
> > class B extends A {
> > }
> >
> > then run "soot B", you get the Polyglot error:
> > /home/research/ccl/olhota/foo/A.java:1-2: Duplicate class "A".
> > class A {
> > ^--------
> > }
> > ^
> >
> > compilation failed: Could not compile
> >
> > Anybody have any ideas on what changes could be causing this?
> >
> > Ondrej
> >
> >
>
Received on Wed Sep 22 16:55:48 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 22 2004 - 17:50:01 BST