ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44805] New: SignJar. isSigned checks for alias instead of sigfile
Date Fri, 11 Apr 2008 00:37:35 GMT

           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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message