Commons Compress
  1. Commons Compress
  2. COMPRESS-30

[compress][PATCH] fix for bzip2 example compress/uncompress utilities

    Details

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

      Operating System: All
      Platform: All

      Description

      Hi There,

      Hope all is going well.

      The commons sandbox compress bzip2 example compress and uncompress utilities are
      currently broken as the CBzip2Input/Output/Stream classes expect the leading 2
      bytes of the BZip2 file to be stripped/added outside of the CBZip2xxxStream classes.

      This currently means the compress example creates a data file bzip2 can't
      understand and the uncompress example throws a null pointer exception.

      The attached patch fixes this.

      Cheers,

      Marcus

        Activity

          People

          • Assignee:
            Torsten Curdt
            Reporter:
            Marcus Crafter
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development