[kaffe] maybe kjc bug (Re: [Takashi Okamoto] Accepted liblogkit-java 1.2.2-2 (all source))

Takashi Okamoto toraneko at kun.ne.jp
Wed May 5 03:43:02 PDT 2004


From: Arnaud Vandyck <avdyk at debian.org>
Subject: [Takashi Okamoto] Accepted liblogkit-java 1.2.2-2 (all source)
Date: Mon, 03 May 2004 12:22:04 +0200

> I don't know if you are aware of this problem but it seems Takashi had a
> problem when compiling jakarta logkit with kjc.

I found this error when test debian's jmeter package. I don't know
what is problem but I have following Exception when run jmeter 2.0
with logkit 1.2.2 which is compiled kjc:

$ jmeter
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.apache.log.Hierarchy$InnerErrorHandler.<init>(Lorg/apache/log/Hierarchy;)V from class org.apache.log.Hierarchy
        at org.apache.log.Hierarchy.<init>(Hierarchy.java:111)
        at org.apache.log.Hierarchy.<clinit>(Hierarchy.java:77)
        at org.apache.jorphan.logging.LoggingManager.getLoggerForClass(LoggingManager.java:283)
        at org.apache.jmeter.JMeter.<clinit>(JMeter.java:78)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:167)

Currently, I use jikes to avoid this problem.


Takashi Okamoto

More information about the kaffe mailing list