harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Elford (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2862) [classlib][suncompat] ICU references sun.io classes that are absent
Date Fri, 02 Feb 2007 22:43:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469898
] 

Chris Elford commented on HARMONY-2862:
---------------------------------------

Note that we have seen this issue using jdbc for DB2 version 9 on Linux x86_64:

java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter
	at com.ibm.db2.jcc.a.y.m(y.java)
	at com.ibm.db2.jcc.a.y.N(y.java:1123)
	at com.ibm.db2.jcc.a.cg.getString(cg.java:808)
                      ...

I suspect that we may run into a number of large scale environments that have dependences
on these classes.   I'd suggest putting in suncompat module

> [classlib][suncompat] ICU references sun.io classes that are absent
> -------------------------------------------------------------------
>
>                 Key: HARMONY-2862
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2862
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vasily Zakharov
>            Priority: Minor
>
> DRLVM bootclasspath contains icu4jni-3.4.jar, that contains 4 classes that can't be loaded.
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
> These classes can't be loaded because they extend classes from sun.io package that are
not available in Harmony classlib.
> There're two ways to resolve this issue:
> 1. Create stubs for sun.io.ByteToCharConverterICU and sun.io.CharToByteConverter in suncompat
module.
> 2. Consider the four classes mentioned above non-needed for Harmony operation and close
this issue as Won't Fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message