ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44805] New: SignJar. isSigned checks for alias instead of sigfile
Date Fri, 11 Apr 2008 00:37:35 GMT
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: notifications@ant.apache.org
        ReportedBy: bugs@hammacher.name


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.

Mime
View raw message