Re: [abc] Bug: Polyglot says Duplicate class

From: Prof. Laurie HENDREN <hendren@sable.mcgill.ca>
Date: Wed Sep 22 2004 - 17:49:36 BST

I saw a recent "fix" checked in wrt to something like this.

Can you get the error using jlc of the most recent polyglot?

Cheers, Laurie

+-------------------------------------------------------------+
| Laurie Hendren, Professor, School of Computer Science |
| McGill University |
| 318 McConnell Engineering Building tel: (514) 398-7391 |
| 3480 University Street fax: (514) 398-3883 |
| Montreal, Quebec H3A 2A7 hendren@cs.mcgill.ca |
| CANADA http://www.sable.mcgill.ca/~hendren |
+-------------------------------------------------------------+

On Wed, 22 Sep 2004, Ondrej Lhotak wrote:

> 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 17:49:51 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 22 2004 - 18:00:02 BST