harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject Re: svn commit: r727062 - in /harmony/enhanced/classlib/trunk/modules/luni/src/main: java/java/net/ java/org/apache/harmony/luni/net/ java/org/apache/harmony/luni/platform/ native/luni/shared/ native/luni/unix/
Date Wed, 17 Dec 2008 11:23:45 GMT
I rebuild the native code, it works fine. Thanks.

Tim Ellison wrote:
> Regis wrote:
>> I found this commit cause luni test crash on my window32 machine, and
>> the core dump show:
> 
> Have you updated the native code and rebuilt it too?
> 
> It looks like your Java is out of sync with the natives.
> 
>>>    hyluni.dll!netGetJavaNetInetAddressValue(const JNINativeInterface_
>> * * env=0x015b8600, _jobject * anInetAddress=0x00000000, unsigned char *
>> buffer=0x0013f724, unsigned int * length=0x0013f7c4)  Line 675 + 0x3f    C
>> hyluni.dll!Java_org_apache_harmony_luni_platform_OSNetworkSystem_bind(const
>> JNINativeInterface_ * * env=0x015b8600, _jobject * thiz=0x021feb30,
>> _jobject * fileDescriptor=0x021feb2c, int localPort=35646248, _jobject *
>> inetAddress=0x00000000)  Line 648 + 0x18    C
> 
> I reversed the order of the int localPort and jobject inetAddress in my
> commit, so you need to run with that change too.
> 
> Regards,
> Tim
> 
>> Did anyone also see this?
> 

-- 
Best Regards,
Regis.

Mime
View raw message