Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342114 - Class is not found if using relative runtime library path to upper (..) directory
Summary: Class is not found if using relative runtime library path to upper (..) direc...
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 349603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-07 04:25 EDT by Martynas L CLA
Modified: 2011-06-17 07:52 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***