[
https://issues.apache.org/jira/browse/FELIX-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555848#action_12555848
]
Felix Meschberger commented on FELIX-426:
-----------------------------------------
Sorry, to jump in here, but:
> The patch to ContentDirectoryContent::EntriesEnumeration does not look right
> as
> public boolean hasMoreElements()
> might return true when there are no elements left.
According to the JavaDoc of Enumeration.hasMoreElements(), which is AFAIK
normative:
/**
* Tests if this enumeration contains more elements.
*
* @return <code>true</code> if and only if this enumeration object
* contains at least one more element to provide;
* <code>false</code> otherwise.
*/
boolean hasMoreElements();
this method only returns true, if there is at least one more element to be
retreived by Enumeration.nextElement(). If this would not be the case, the
respective implementation would be wrong .... (and not the use of it)
> Bundle-Classpath is not working with directories as expected.
> -------------------------------------------------------------
>
> Key: FELIX-426
> URL: https://issues.apache.org/jira/browse/FELIX-426
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Environment: Windows XP / Ubuntu Linux
> Reporter: Lucas Galfaso
> Attachments: FELIX-426.v2.patch, FELIX-426.v3.patch
>
>
> The manifest entry Bundle-Classpath is not working as expected when
> directories are specified.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.