jar --verify operation mode checking mrjar validity
sormuras at gmail.com
Sat Dec 1 08:45:02 UTC 2018
jar --create (and --update) perform type API validation checks when used in
combination with --release option. This detects invalid "version overlays"
at package time, where the API doesn't match a previous one.
Having a jar --verify mode that performs the same checks consuming an
already existing jar file would be useful as most "3rd-party packaging
tools" don't perform those checks.
A possible work-around could be to explode an existing jar and re-create it
using jar --create...
More information about the core-libs-dev