Knut Anders Hatlen created DERBY-5798:
-----------------------------------------

             Summary: 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


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

        

Reply via email to