Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5798

Disable i18n/JapanCodeConversion.sql on platforms that don't support EUC_JP or SJIS

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: 10.10.1.1
    • Component/s: Test
    • Labels:
      None

      Description

      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.

        Attachments

        1. d5798-1a.diff
          40 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: