JDK-6431651 : No description for addURL(URL url) method of URLClassLoader class in case null url
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-05-30
  • Updated: 2010-07-09
  • Resolved: 2006-12-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 Other
7 b03Fixed OpenJDK6Fixed
Related Reports
Relates :  
Relates :  
Description
In current release if null is passed as url, null is appended to the list of the search path.
If this behavior is right, I think this fact must be reflected in both addURL and getURLs methods.
But may be it will more convenient throw NullPointerException or do nothing in case of null url.

Comments
EVALUATION Update spec.
11-09-2006