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


Reply via email to