[Kde-java] GCJ and qtjava/kdejava

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sat Mar 30 15:28:00 GMT 2002


Anthony Green wrote:
>On Sat, 2002年03月30日 at 06:05, Richard Dale wrote:
>>>I've just built and installed gcc 3.0.4 and binutils-2.12 (on SuSE 6.4 PowerPC 
>>Linux). I followed Adam's instructions, and everything builds fine. But I've 
>>still got exactly the same problem as I had before with gcc 3.0.2. If I try 
>>to run the scribble example, it fails because method overloading doesn't 
>>appear to be working properly. 
>>
Both GCJ's JNI and Method.invoke() are a bit broken with regard to 
virtual method lookups. They need to be changed to use vtables, which 
will improve performance as well. The vtable offset for each method can 
be stored in struct _Jv_Method without increasing its size.
I actually once wrote a patch to do this but in a moment of carelessness 
managed to rm -rf my entire libjava tree before I had finished it ;-(
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /