|
From: Tony W. <wuy...@gm...> - 2006-12-27 17:33:52
|
Hi Ram, If I do not want to use the conversion services, it would be ok to remove them from ICU4jni? I have to do that because they may cause an error when vm try to load them with out their parent class. My VM is 5.0 compatible:) On 12/28/06, Ram Viswanadha <ram...@gm...> wrote: > Hi Tony, > > This is done so by design. Prior to JDK 1.4 the conversion classes were in > sun.io package. To provide external conversion services, libraries had to > extend sun.io classes. If you are using ICU4JNI with other JVMs then you > should not use these classes. I hope you are using JVM and JDKs compatible > with JDK 1.4, if not then you cannot use conversion services provided by > ICU4JNI. > > On 12/26/06, Tony Wu <wuy...@gm...> wrote: > > icu4jni-3.4.jar contains 4 classes > > that can't be loaded in other jvm because they extend classes from sun.io > > package. These classes are: > > > > com.ibm.icu4jni.converters.ByteToCharConverterICU extends > > sun.io.ByteToCharConverter > > com.ibm.icu4jni.converters.ByteToCharGB18030 extends > > ByteToCharConverterICU > > com.ibm.icu4jni.converters.CharToByteConverterICU extends > > sun.io.CharToByteConverter > > com.ibm.icu4jni.converters.CharToByteGB18030 extends > > CharToByteConverterICU > > > > I found that no other classes in ICU4jni depend on them. What those > > classes could be really needed for? Shall I simply delete them? does > > it affect the function of icu or whatever? Thanks a lot. > > > > -- > > Tony Wu > > China Software Development Lab, IBM > > > > > > > > > > -- > Best Regards, > Ram Viswanadha > ICU > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > icu-support mailing list - > icu...@li... > To Un/Subscribe: > https://lists.sourceforge.net/lists/listinfo/icu-support > > > -- Tony Wu China Software Development Lab, IBM |