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

Make i18n/LocalizedDisplay.sql and i18n/LocalizedConnectionAttribute.sql behave equally on different platforms



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


      Myrna van Lunteren commented on DERBY-244:

      The one remark I have is that I still cannot get the LocalizedDisplay.sql and LocalizedConnectionAttribute.sql test from the i18n directory to behave the same under windows and Linux (with sun jdk 1.4.2.).
      For windows, I had to update the masters for these tests, but running them on Linux still failed for me.
      With jdk131, ibm131 and ibm142 the LocalizedDisplay.sql test hung, and LocalizedConnectionAttribute exits with a MalformedInputException.
      It would be nice if we could figure out a way to add these tests to the suites...

      — stack of LocalizedConnectionAttribute on Linux —
      Exception in thread "main" sun.io.MalformedInputException
      at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
      at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:287)
      at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:337)
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:223)
      at java.io.InputStreamReader.read(InputStreamReader.java:208)
      at java.io.BufferedReader.fill(BufferedReader.java:153)
      at java.io.BufferedReader.readLine(BufferedReader.java:316)
      at java.io.BufferedReader.readLine(BufferedReader.java:379)
      at org.apache.derbyTesting.functionTests.harness.RunTest.setDirectories(RunTest.java:729)
      at org.apache.derbyTesting.functionTests.harness.RunTest.main(RunTest.java:262)


        1. d1726-encoding-1a.diff
          54 kB
          Knut Anders Hatlen
        2. d1726-encoding-1a.stat
          0.7 kB
          Knut Anders Hatlen
        3. d1726-encoding-1b.diff
          53 kB
          Knut Anders Hatlen
        4. DERBY-1726_1.diff
          46 kB
          Myrna van Lunteren
        5. DERBY-1726_2.diff
          59 kB
          Myrna van Lunteren
        6. DERBY-1726_3.diff
          57 kB
          Myrna van Lunteren
        7. DERBY-1726_3.stat
          0.7 kB
          Myrna van Lunteren
        8. DERBY-1726_4.diff
          58 kB
          Myrna van Lunteren
        9. DERBY-1726_5.diff
          66 kB
          Myrna van Lunteren
        10. DERBY-1726_6.diff
          67 kB
          Myrna van Lunteren
        11. DERBY-1726_7.diff
          79 kB
          Myrna van Lunteren
        12. DERBY-1726_7.stat
          0.9 kB
          Myrna van Lunteren
        13. DERBY-1726_8.diff
          80 kB
          Myrna van Lunteren
        14. props.java
          0.8 kB
          Myrna van Lunteren

          Issue Links



              • Assignee:
                myrna Myrna van Lunteren
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created: