| Summary: | Utility jars in EAR50/lib or EAR/ cannot be edited in in EAR Java EE Module Dependencies page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Diego Sahagun <diegosr> | ||||
| Component: | jst.j2ee | Assignee: | Diego Sahagun <diegosr> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc, shr31223 | ||||
| Version: | 3.0.5 | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.0.5 P | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Diego Sahagun
The fix for Bug 349741 uncovered some additional issues that were not caught during testing but during verification instead. Created attachment 203292 [details]
Fix patch
I noticed that the method getWorkspaceRelativePath() form VirtualArchiveComponent class is not consistent on its results, it returns a path including the EAR when the utility jars were just copied (not in component file) and returns a path excluding the EAR when utility jars have been imported (present in component file). The method is deprecated in newer streams so the fix to this is basically add some shielding code to the places where the method is used.
approved The Java 6 method Arrays.copyOfRange() caused errors. Resolving since this was committed and released on Sept 23 by Carl. Thanks Carl for the Arrays.copyOfRange() correction. |