[rfc][icedtea-web] add application name to all manifests
Jiri Vanek
jvanek at redhat.com
Mon Mar 2 11:50:09 UTC 2015
On 02/28/2015 01:42 AM, Jacob Wisor wrote:
> On 02/27/2015 02:43 PM, Jiri Vanek wrote:
>> This is adding Application-Name to all jars' manifests in our reproducres suite.
>>
>> If the A-N exists in manifest or input Manifest file exists, then A-N is not
>> added into manifest(may be reproducer relying on that)
>>
>> As A-N is moreove mandatoryattribute, I added it also to amnual testcases with
>> custom manifest, as they donot relay oon it.
>>
>> J.
>>
>> Later I would like to include it also to 1.5
>
> Hmm, Application-Name? I just looked over the JAR File Specification and did not find this header
> specified. I am sorry if I am missing something here but I do not get the reason why this header
> needs to be included. Well, on the other hand the Java manifest parser has been tolerant of
> non-specification headers so far. This might change since the specification does not mention
> anything about user-defined headers.
>
> Long story short, can you please explain the Application-Name header?
>
Yup.
It came from here:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html
From those are also two Trusted-Only Attribute and Trusted-Library Attribute which are missing in ITW.
"If the Application-Name attribute is not present in the JAR file manifest, a warning is written ... "
When we implemented Application-Name we printed it also to stdout/err. Now reproducers are spamming
"No Application-Name found in manifest"
Thats my point...
Thankx for check!
J.
More information about the distro-pkg-dev
mailing list