Clone
Danny Thomas <dannyt@netflix.com>
committed
on 17 Jan
Normalize metaInf entries
Jar file manifests can't be normalized via the current normalization method due to their potential impact on runti… Show more
Normalize metaInf entries

Jar file manifests can't be normalized via the current normalization method due to their potential impact on runtime behaviour, so this makes their normalization a feature. In addition to allowing attributes to be ignored by key, for changing attributes such as Created-By (typically includes the exact JDK version) attributes are sorted before they're filtered and hashed ensuring a stable result.

This also normalizes property files with in META-INF/ and optionally allows values to be ignored by key.

Signed-off-by: Danny Thomas <dannyt@netflix.com>

Show less

master + 94 more