Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4815502
Votes 29
Synopsis jar command generates new warning Duplicate name in Manifest: Name
Category java:classes_util_jarzip
Reported Against mantis-beta
Release Fixed mustang(b78)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6395890
Submit Date 08-FEB-2003
Description
To fix the manifest when you see a warning like the following,
if there are not duplicate names, add newlines
between the lines.

   WARNING: Duplicate name in Manifest: NameAs part of a fix to 1.4.2, the jar command will generate a warning for manifest file sections that are not separated by a newline in the spec. This is different from the 1.4.1 and 1.4.0 behavior which didn't report the warning even though the manifest file was not formatted correctly

eg WARNING: Duplicate name in Manifest: Name

if lines are
Name: class.a
Name: class.b
Name: class.c
Work Around
N/A
Evaluation
To fix the manifest when you see this warning,
if there are not duplicate names, add newlines
between the lines.


Accepted
  xxxxx@xxxxx   2003-02-14
Comments
  
  Include a link with my name & email   

Submitted On 30-JAN-2004
jhball
What is the status on this bug?  It would be helpful if 
you would update it.


Submitted On 19-MAY-2004
Henrik_Engert
It's the same problem in Java 1.5 beta 1 at least.

-Hinke


Submitted On 30-SEP-2004
jsf008
I find the same question when i installed 

J2SE v 1.4.2_05  



PLEASE NOTE: JDK6 is formerly known as Project Mustang