Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-543

Some test cases fail to run in window environment.

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.20
    • None
    • Archivers
    • None

    Description

      ERROR:

      Problem: Because Windows System uses GBK code by default, and it uses GBK encoding to open the utf8 file( ), which will report an error. So, these two examples will fail in Windows environment. While Linux System uses UTF-8 code by default, so there will be no error.

      File: src\test\java\org\apache\commons\compress\archivers\zip\UTF8ZipFilesTest.java

      Function: testReadWinZipArchiveForStream() testReadWinZipArchive()

       

      Attachments

        1. image-2020-07-13-19-27-57-340.png
          48 kB
          wulf2333
        2. image-2020-07-13-19-27-30-073.png
          2 kB
          wulf2333

        Activity

          People

            Unassigned Unassigned
            wulf2333 wulf2333
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: