You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2006/12/22 17:54:21 UTC

[jira] Created: (HARMONY-2862) [classlib][suncompat] ICU references sun.io classes that are absent

[classlib][suncompat] ICU references sun.io classes that are absent
-------------------------------------------------------------------

                 Key: HARMONY-2862
                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2862) [classlib][suncompat] ICU references sun.io classes that are absent

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-2862.
--------------------------------


> [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
>            Assignee: Tim Ellison
>            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.


[jira] Resolved: (HARMONY-2862) [classlib][suncompat] ICU references sun.io classes that are absent

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-2862.
----------------------------------

    Resolution: Won't Fix
      Assignee: Tim Ellison

Classes in question not required by Harmony.


> [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
>            Assignee: Tim Ellison
>            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.


[jira] Commented: (HARMONY-2862) [classlib][suncompat] ICU references sun.io classes that are absent

Posted by "Chris Elford (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-2862) [classlib][suncompat] ICU references sun.io classes that are absent

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2862?page=comments#action_12460942 ] 
            
Vasily Zakharov commented on HARMONY-2862:
------------------------------------------

Here's the discussion on this issue:
http://thread.gmane.org/gmane.comp.java.harmony.devel/21666


> [classlib][suncompat] ICU references sun.io classes that are absent
> -------------------------------------------------------------------
>
>                 Key: HARMONY-2862
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira