Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342114

Summary: Class is not found if using relative runtime library path to upper (..) directory
Product: [Eclipse Project] Equinox Reporter: Martynas L <marte>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: nadeem.aboobaker, pascal, pwebster, tjwatson
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Martynas L CLA 2011-04-07 04:25:35 EDT
Build Identifier: I20110310-1119

The class is loaded if runtime lib path is specified:
<library name="lib/my.jar">
    <export name="*"/>
</library>

but not found if path has "..":
<library name="../lib/my.jar">
    <export name="*"/>
</library>

There is no problem with 3.6.2

Reproducible: Always
Comment 1 Thomas Watson CLA 2011-06-13 12:03:38 EDT
The fact that this worked in 3.6.2 is really exploiting bug320546.  We do not support adding classpath entries that are outside of the content of our bundle.
Comment 2 Thomas Watson CLA 2011-06-16 13:59:48 EDT
*** Bug 349603 has been marked as a duplicate of this bug. ***