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

lines exceeding 72 byte in manifest file not created correctly by jar

    XMLWordPrintable

Details

    • 1.2beta4
    • generic, x86
    • generic, windows_nt
    • Not verified

    Description

      jar utility in 1.1.x and 1.2x does not adhere to manifest file format specification when the name/value pair exceeds 72 characters.
      The speicfication states that lines in the manifest which exceed 72 bytes should be split over multiple lines using space as a continuation character on the next line.

      The manifest is created by share/sun/sun/tools/jar/Manifest.java which uses the MessageHeader class share/sun/sun/net/www/MessageHeader.java. MessageHeader implements the RFC822 MIME header message format but does not handle line continuation.

      Specification details available at :-
      http://java.sun.com/products/jdk/1.1/docs/guide/jar/manifest.html
      See sections "3. Name-value pair and sections" and "7. Note".

      Attachments

        Issue Links

          Activity

            People

              mmcclosksunw Michael Mccloskey (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: