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

importExportThruIJ.sql supportfiles sqlAnywhere* need to be copied in fixed encoding

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Test
    • Labels:
      None
    • Environment:
      zOS/ OS/390

      Description

      The test tools/importExportThruIJ.sql fails after the changes for DERBY-658, because the harness now tries to copy the supportfiles testData/importExport/sqlAnywhere1.txt and sqlAnywhere2.txt into local encoding.. This gives the following error:

      Exception in thread "main" sun.io.MalformedInputException
      at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:278)

      Note: before, DERBY-658, these 2 files would have to be not run through native2ascii. The test explicitly assumes the contents to be ASCII (that is, the import indicates "ASCII"). My notes indicate that with 10.1.1, this test then passed with ibm14.

      Because the copying is done based on extension, these two files need to be renamed.

        Attachments

        1. DERBY-1264_102_20060428.stat
          0.8 kB
          Myrna van Lunteren
        2. DERBY-1264_102_20060428.diff
          48 kB
          Myrna van Lunteren

          Activity

            People

            • Assignee:
              myrna Myrna van Lunteren
              Reporter:
              myrna Myrna van Lunteren
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: