harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-2669) [classlib][charsets] Working with charset ISO-2022-CN crashes DRLVM
Date Mon, 23 Apr 2007 08:44:03 GMT
Sorry for replying late.

I found another bug of icu4jni's native code too, as described below.

in src/native/converter/ConverterInterface.c
            jint count =32;
            UChar invalidUChars[32];
            ucnv_getInvalidUChars(cnv,invalidUChars,(int8_t*)&count,&errorCode);

The cast from jint* to int8_t* will lead to some problem in big-endian
machine, usually get zero. It was fixed in 3.6 but no patch for 3.4.


As far I know, Richard is not feeling well these days. actually I'm
preparing for upgrading both icu4jni and icu4j to 3.6.

For icu4j, it is much easier, what we need to do is just replace the
original jar file.

It is a little complex with icu4jni36. the library name is
libInterface36 rather than libInterface34, IIRC, it was hardcoded in
vm. So we may need modify and rebuild vm.

On 4/19/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
> Gregory Shimansky wrote:
> > I think there was a suggestion to move to version 3.6 but I don't know
> > what the decision was when the discussion has finished. Could someone
> > remind me?
>
> I was waiting for Richard to respond, since IIRC he was the one that
> looked at it.  I think he decided upgrading was the right thing to do
> (but after the milestone build please<g>).
>
> Regards,
> Tim
>
>
>


-- 
Tony Wu
China Software Development Lab, IBM

Mime
View raw message