Kaffe compilation & execution problems

Tim Wilkinson tim at tjwassoc.co.uk
Thu Mar 27 13:52:42 PST 1997


On Thu, 27 Mar 1997, Chris Gray wrote:

> On Sat, 22 Mar 1997, Philippe MALINGE wrote:
> 
> > I try to compile kaffe on SUN3 with NetBSD 1.2 and X11R6.1
> >
> 
> Me, I'm on an Atari Falcon, also with NetBSD 1.2.
>  
> > 2) During the execution of kaffe tests :
> > javac -classpath /usr/local/share/kaffe/classes.zip HelloWorldApp.java
> > java.util.NoSuchElementException: VectorEnumerator
> >         at java/lang/Throwable.<init>(line unknown, pc 0x5)
> >         at java/lang/Exception.<init>(line unknown, pc 0x2)
> >         at java/lang/RuntimeException.<init>(line unknown, pc 0x2)
> >         at java/util/NoSuchElementException.<init>(line unknown, pc 0x2)
> >         at java/util/VectorEnumerator.nextElement(line unknown, pc 0x41)
> >         at sun/tools/javac/Main.compile(157)
> >         at sun/tools/javac/Main.main(289)
> > error: An exception has occurred in the compiler; please file a bug report (java
> > -bugs at java.sun.com).
> > 1 error
> > 
> I get that too, verbatim, right down to the line/pc numbers.
> 
> kaffe HelloWorldApp works fine though, n'est-ce pas?

I believe this is a GC related but due to some misaligned pointers (the M68K
aligns pointers on 16bit boundaries while Kaffe wants them on 32bit bounaries).
I thought I'd got all the structures correctly setup so this wouldn't
be a problem - but I guess not.  If anyone can find the alignment
problems ....

Tim

--
  Tim Wilkinson                         Tel/Fax: +44 181 440 0658
  T. J. Wilkinson & Associates,         Mobile:  +44 370 621006
  London, UK.                           Email:   tim at tjwassoc.co.uk



More information about the kaffe mailing list