[kaffe] put mathod can not be found

Grzegorz Tyma grzegorz.tyma@adescom.com
Mon Sep 15 19:33:01 2003


This is a multi-part message in MIME format.

------=_NextPart_000_007C_01C37B6E.A04A0390
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I'm porting kaffe 1.0.7 to TriCore-Linux platform.=20
I am faced with the following problem:
When native function: java_lang_System_initProperties()  is executed the =
"put" method can not be found.
I have found out that findMethodLocal()  searches in (class->superclass =
is java/lang/VirtualMachineError) : java/lang/StackOverflowError, =
java/lang/VirtualMachineError, java/lang/Error, java/lang/Throwable, =
java/lang/Object and "put" method is not present there.

I compared it with kaffe running on i386-Linux (which has been made with =
the same options as for TriCore).
I noticed that findMethodLocal() starts with (class->superclass is =
java/util/Hashtable) java/util/properties and finds "put" in =
java/util/Hashtable.

Could you give me any hints?
Thanks for help.
Regards,
Greg Tyma



------=_NextPart_000_007C_01C37B6E.A04A0390
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm porting kaffe 1.0.7 to =
TriCore-Linux platform.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am faced with the following =
problem:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When native function:=20
java_lang_System_initProperties()&nbsp; is executed the "put" method can =
not be=20
found.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have found out that =
findMethodLocal()&nbsp;=20
searches in (class-&gt;superclass is java/lang/VirtualMachineError)=20
:&nbsp;java/lang/StackOverflowError, java/lang/VirtualMachineError,=20
java/lang/Error, java/lang/Throwable, java/lang/Object </FONT><FONT =
face=3DArial=20
size=3D2>and "put" method is not present there.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I compared it with kaffe running on =
i386-Linux=20
(which has been made with the same options as for TriCore).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I noticed that&nbsp;findMethodLocal() =
starts with=20
(class-&gt;superclass is java/util/Hashtable) java/util/properties and =
finds=20
"put" in java/util/Hashtable.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could you give me any =
hints?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Greg Tyma</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial=20
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_007C_01C37B6E.A04A0390--