harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-frederic Clere <jfcl...@telefonica.net>
Subject Re: jchevm+ibm_core
Date Thu, 15 Dec 2005 18:34:32 GMT
Archie Cobbs wrote:

> Jean-frederic Clere wrote:
>
>> I am trying to get working jchevm+ibm_core (+some classpath classes). 
>> But I am fighting with the following (in (my) System.java):
>> +++
>>        private static String mydefault = "ISO-8859-1";
>>
>>        // private static native String getEncoding(int type);
>>        static String getEncoding(int type) {
>>                return mydefault;
>>        }
>> +++
>> It appairs that mydefault is null ;-(
>
>
> A probable cause is because you have a class initialization loop,
> and "mydefault" has not been set yet.

Thanks, that was the problem.

Cheers

Jean-frederic

>
> -Archie
>
> __________________________________________________________________________ 
>
> Archie Cobbs      *        CTO, Awarix        *      
> http://www.awarix.com
>


Mime
View raw message