felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4161) Bad logic in manifest parser
Date Thu, 04 Jul 2013 16:41:47 GMT
Guillaume Nodet created FELIX-4161:
--------------------------------------

             Summary: Bad logic in manifest parser
                 Key: FELIX-4161
                 URL: https://issues.apache.org/jira/browse/FELIX-4161
             Project: Felix
          Issue Type: Bug
            Reporter: Guillaume Nodet


The code in ManifestParser#getLibraries() is flawed

https://github.com/apache/felix/blob/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java#L957

The variable "current" is never written to and is always equals to 0, so the "found" variable
can never be true.
It leads to bad duplicate detection if that was the supposed goal.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message