[kaffe] java.lang.IllegalAccessError

Ito Kazumitsu kaz at maczuka.gcd.org
Mon Oct 27 07:08:02 PST 2003


In message "Re: [kaffe] java.lang.IllegalAccessError"
    on 03/10/27, Ito Kazumitsu <kaz at maczuka.gcd.org> writes:

> Cases similar to my test case is appearing in some important
> applications such as JExcelAPI and HSQLDB.

The case of JExcelAPI has been settled, but HSQLDB has a bit more
complicated pattern.

I have made another test case,  which still fails when run with kaffe.

bash$ cat a1/Base.java 
package a1;
public abstract class Base {
  protected class Base1 {
    public Base1() {}
  }
}
bash$ cat a1/a2/Extend.java 
package a1.a2;
import a1.Base;
final class Extend extends Base {
  public static void main(String[] args) {
    new Extend().foo();
  }
  private void foo() {
    new Extend1().bar();
  }
  class Extend1 {
    public void bar() {
      Base1 b = Extend.this.new Base1();
    }
  }
}




More information about the kaffe mailing list