[kaffe] gcj-3.3.2 + Kaffe CVS: java.lang.IllegalAccessError

Everton da Silva Marques everton at lab.ipaccess.diveo.net.br
Wed Nov 12 14:03:02 PST 2003


As per Dalibor suggestion, I have further investigated
this with kjc and jikes. The results are:

On Wed, Nov 12, 2003 at 05:27:07PM -0200, Everton da Silva Marques wrote:
> 
> gcj:   3.3.2
> kaffe: CVS (ChangeLog head: 2003-11-12 Ito Kazumitsu <kaz at maczuka.gcd.org>)
> jdk:   j2sdk1.4.2_02

jikes:   1.18
kjc:     2.1A (from Kaffe CVS)

> compiler VM    result
> ---------------------------------
> gcj      j2sdk ok
> gcj      kaffe IllegalAccessError
> j2sdk    j2sdk ok
> j2sdk    kaffe ok

  jikes    j2sdk ok
  jikes    kaffe ok
  kjc      j2sdk ok
  kjc      kaffe ok

I have also disassembled the test classes generated
by kjc and gcj, by running 'javap' (from Kaffe).
The diff of the result is:

diff -r kjc/A.ksm gcj/A.ksm
4d3
< @signature "Ljava/lang/Object;"
15d13
<         @line 4
diff -r kjc/B.ksm gcj/B.ksm
4d3
< @signature "Ljava/lang/Object;"
30d28
<         @line 4
diff -r kjc/C.ksm gcj/C.ksm
4d3
< @signature "La/B;"
15d13
<         @line 4
diff -r kjc/Main.ksm gcj/Main.ksm
4d3
< @signature "Ljava/lang/Object;"
22c21
<               @invokevirtual  void a.C.m()
---
>               @invokevirtual  void a.B.m()
34d32
<         @line 4

Thanks,
Everton





More information about the kaffe mailing list