Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b113
Description
ClassLoader API documentation of getResource() should recommend that getResource() and getResources() are kept consistent - something like:
<< A subclass of ClassLoader that overrides getResource() to
implement an alternate search algorithm for locating resources
should also override getResources() to reflect that same
order >>
ServiceLoader documentation could be improved with an @implNote stating that the resources are returned in the order defined by ClassLoader,getResources().
<< A subclass of ClassLoader that overrides getResource() to
implement an alternate search algorithm for locating resources
should also override getResources() to reflect that same
order >>
ServiceLoader documentation could be improved with an @implNote stating that the resources are returned in the order defined by ClassLoader,getResources().