Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
We might call NameResolver getProvider in a loop for each custom NameResolver - if there are custom NameResolvers.
And if so, then we do not want the method to return IOException if the file cannot be resolved.
Therefore, change the javadoc to say it should return null if the file name cannot be resolved.
Also, update the implementations that we have now so that we do not get NullPointerExceptions if getProvider returns null.