If jar signing fails, a half-created jar file is created. It should be removed. If -signedjar is provided, the file is the value of this option. Otherwise, it is the original jar plus the ".sig" suffix.
JDK-8196845jarsigner should not create a signed jar if the signing fails