Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324221 - JavaEEArchiveUtilities.inLibDir needs to consider component parameter while returning result
Summary: JavaEEArchiveUtilities.inLibDir needs to consider component parameter while r...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.0.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.5 P   Edit
Assignee: Hari Shankar CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 12:11 EDT by Hari Shankar CLA
Modified: 2010-09-03 08:25 EDT (History)
2 users (show)

See Also:
cbridgha: review+


Attachments
Patch (2.20 KB, patch)
2010-09-01 12:15 EDT, Hari Shankar CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hari Shankar CLA 2010-09-01 12:11:13 EDT
Build Identifier: 305p

The JavaEEArchiveUtilities.inLibDir method needs to consider component parameter while returning result. Currently, in the for each loop in the method, we are not comparing against the passed in component while determining if inLibDir variable should be set to true/false.


Reproducible: Always
Comment 1 Hari Shankar CLA 2010-09-01 12:15:59 EDT
Created attachment 177982 [details]
Patch

This patch changes the JavaEEArchiveUtilities.inLibDir method to check for the VirtualReference corresponding to the passed in component parameter while determining the return value.
Comment 2 Chuck Bridgham CLA 2010-09-01 16:41:54 EDT
approved
Comment 3 Jason Sholl CLA 2010-09-01 17:17:57 EDT
this fix is already in 3.2.2 and 3.3
Comment 4 Carl Anderson CLA 2010-09-03 08:25:36 EDT
Committed to R3_0_5_patches