Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
jtsk_2.1
-
None
Description
net.jini.loader.pref.PreferredClassLoader currently performs a direct check against the first URL to see whether the there is a PREFERRED.LIST. The reasons for this direct request instead of attempting to access through a "jar:" URL is because the "jar:" protocol handler can mask between definite lack of existence and less definitive errors.
The side effect of the current approach is explained in this posting. An improvement that would not result in bypassing a JAR file cache in case the first JAR file is locally available is given in this posting.