You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/06/08 15:32:23 UTC

[jira] [Resolved] (DERBY-5798) Disable i18n/JapanCodeConversion.sql on platforms that don't support EUC_JP or SJIS

     [ https://issues.apache.org/jira/browse/DERBY-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-5798.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.10.0.0

Committed revision 1348064.
                
> Disable i18n/JapanCodeConversion.sql on platforms that don't support EUC_JP or SJIS
> -----------------------------------------------------------------------------------
>
>                 Key: DERBY-5798
>                 URL: https://issues.apache.org/jira/browse/DERBY-5798
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: d5798-1a.diff
>
>
> I ran derbyall on Java SE for Embedded 7, which doesn't support the EUC_JP or SJIS encodings. i18n/JapanCodeConversion.sql failed because of this:
> ********* Diff file derbyall/i18nTest/JapanCodeConversion.diff
> *** Start: JapanCodeConversion jdk1.7.0_04-ea derbyall:i18nTest 2012-05-31 15:10:02 ***
> 55 del
> < 0 rows inserted/updated/deleted
> 55a55,58
> > ERROR 38000: The exception 'java.sql.SQLException: The exception 'java.lang.reflect.InvocationTargetException' was thrown while evaluating an expression.' was thrown while evaluating an expression.
> > ERROR 38000: The exception 'java.lang.reflect.InvocationTargetException' was thrown while evaluating an expression.
> > ERROR XJ001: Java exception: ': java.lang.reflect.InvocationTargetException'.
> > ERROR XJ001: Java exception: 'java.io.UnsupportedEncodingException: EUC_JP'.
> 59,74d61
> (...)
> We should skip the test on platforms that don't support these encodings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira