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

JAR Manifest Specification contains conflicting specifications

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.1, 11
    • Fix Version/s: 11
    • Component/s: docs
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Backports

        Description

        Name: rmT116609 Date: 02/11/2003


        FULL PRODUCT VERSION :
        java version "1.4.1_01"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
        Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)


        FULL OPERATING SYSTEM VERSION :
        Microsoft Windows 2000 [Version 5.00.2195]

        A DESCRIPTION OF THE PROBLEM :
        The JAR Manifest specification at
        http://java.sun.com/j2se/1.4.1/docs/guide/jar/jar.html
        contains conflicting specifications. Looking at the "Name-
        Value pairs and Sections" part of the JAR Manifest
        Specification at
        http://java.sun.com/j2se/1.4.1/docs/guide/jar/jar.html#Name-
        Value%20pairs%20 and%20Sections it is clear that "sections"
        are separated by blank lines. This because each "header" in
        a section ends in a "newline" and then the "section" itself
        ends with another "newline".

        However, the "JAR Manifest" part at
        http://java.sun.com/j2se/1.4.1/docs/guide/jar/jar.html#Manif
        est%20Specification doesn't specify that blank lines should
        preced the initial "Name" headers of each "individual-
        section".

        There are a number of ways in which this could be
        corrected. Perhaps the most clear cut would be to change
        the "manifest-file" line to read
        "manifest-file: main-section newline *(individual-section
        newline)".


        REPRODUCIBILITY :
        This bug can be reproduced always.
        (Review ID: 181031)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cwayne Clifford Wayne
                  Reporter:
                  rmandalasunw Ranjith Mandala (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: