Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4859572

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

    XMLWordPrintable

    Details

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

      Description



      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;

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: