https://issues.apache.org/bugzilla/show_bug.cgi?id=44805
Summary: SignJar.isSigned checks for alias instead of sigfile
Product: Ant
Version: 1.7.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
If one specifies a "sigfile" that differs from the "alias", the method
isSigned(File) in class SignJar yields wrong results. It ignores the sigfile
and always uses alias for the signature filename.
The bug still exists in nightly build 20080410224908.
Possible bug fix: in the method SignJar.isSigned(File), the line
return IsSigned.isSigned(file, alias);
should be replaced by
return IsSigned.isSigned(file, sigfile != null ? sigfile : alias);
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.