Stefan Bodewig wrote:
Hi,

PR 21170 showns to rather unrelated problems AFAIU, but I'd like some
feedback - especially since Magesh and Conor have been through part of
this for PR 4683 already.

Problem 1 seems to be that the MANIFEST spec says that attributes
cannot be repeated in one section while other specs say that you could
do that for the Class-Path attribute in the main section.  It seems
that JDK 1.4.2 now emits warnings for duplicate attribute names, and
these warnings include the Class-Path attribute.

I don't see a solution apart from an attribute (mergeclasspath?) to
control the behavior for the Class-Path attribute.  If set to true
multiple Class-Path attributes would get folded into one - making JDK
1.4.2 happy.  For backwards compatibility its value would need to be
false even though java.util.jar.Manifest will ignore all but the first
entry, or so it seems.


we could always complain to Sun that they have just broken a lot of programs and are inconsistent with their docs




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to