-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.6
arthur.frechette@East 1998-02-06
There appears to be a problem in the way the search path is searched when
having multiple Class-Path entries. For examples I had in my manifest file:
Class-Path: ext/v1/MyExtensions.jar
Class-Path: ext/v2/MyExtensions.jar
I expected it to search for classes first in this order:
ext/v1/MyExtensions.jar ext/v2/MyExtensions.jar
Since ext/v1/MyExtensions.jar was defined first.
It should have resolved my classes with first version of jar (v1) but
instead it resolved my classes with the second version of jar (v2).
When I set the manifest file as follows I get what was expected with right
search order:
either:
Class-Path: ext/v1/MyExtensions.jar ext/v2/MyExtensions.jar
or this:
Class-Path: ext/v2/MyExtensions.jar
Class-Path: ext/v1/MyExtensions.jar
So it looks like the stacking order for search paths is not set correctly.