Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8218012 | 1.4.1 | Clifford Wayne | P4 | Closed | Won't Fix |
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)
======================================================================
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)
======================================================================
- backported by
-
JDK-8218012 JAR Manifest Specification contains conflicting specifications
- Closed