Bug 107622 - [osgi] Bundle#getEntryPaths must return null when no entries are found
Summary: [osgi] Bundle#getEntryPaths must return null when no entries are found
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Thomas Watson CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 11:26 EDT by Thomas Watson CLA Friend
Modified: 2005-08-22 15:34 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix for 3.1.1 (1.47 KB, patch)
2005-08-22 12:29 EDT, Thomas Watson CLA Friend
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA Friend 2005-08-22 11:26:21 EDT
When no entries are found Bundle#getEntryPaths must return null according to 
the javadoc.  The current implementation returns a empty Enumeration.
Comment 1 Thomas Watson CLA Friend 2005-08-22 12:23:16 EDT
Fixed in Head.

I will attach a patch for 3.1.1.
Comment 2 Thomas Watson CLA Friend 2005-08-22 12:29:47 EDT
Created attachment 26348 [details]
Proposed fix for 3.1.1

Pascal, please review for 3.1.1.  Thanks.
Comment 3 Pascal Rapicault CLA Friend 2005-08-22 13:22:21 EDT
Patch reviewed. Good to release in maintenance stream and HEAD.
Comment 4 Thomas Watson CLA Friend 2005-08-22 15:34:30 EDT
Fixed in maintenance stream.