argument to Pack200.pack method should be JarInputStream instead of JarFile

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 1.4.0
    • Component/s: deploy



      Name: akR10050 Date: 05/07/2003


      javax.pack.Pack200.pack(JarFile in, OutputStream out) method accepts a JarFile
      as the source of input. While it is reasonable to assume that jar content is
      most likely to be available as a file, it is not always the case. Content of a
      jar file can be available in many forms, a byte array is an example.

      Pack200 API should provide a method to handle a JarInputStream along with (or
      instead of) pack method for a JarFile. The signature of the method could be

      public void javax.pack.Pack200.pack(JarInputStream in, OutputStream out)
      throws IOException;

      ======================================================================

            Assignee:
            Kumar Srinivasan
            Reporter:
            Kai Kai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: