JDK-5083453 : (cl) Javadoc indicating ClassLoader.getResources is no longer final in Tiger
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:class_loading
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux_redhat_9.0
  • CPU: x86
  • Submitted: 2004-08-05
  • Updated: 2012-10-08
  • Resolved: 2004-08-05
Related Reports
Relates :  
Description
Compare

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#getResources(java.lang.String)

to

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html#getResources(java.lang.String)

and you will notice that ClassLoader.getResources(String) ceased to be final. This is a nice thing - it was in some ways an API defect that it was final before, since that prevented correct semantics in some situations involving nontraditional loader delegation order - but it should be mentioned in the Javadoc that this changed between JDK 1.4 and 1.5, so people aren't left wondering if it was accidental etc.
###@###.### 2004-08-05

Comments
EVALUATION for compatibility reasons, there are several required steps to make any signature changes in the JDK (even one which is fully compatible as this one is). Customers can safely assume that any changes of this nature are deliberate. No additional documentation is required. -- iag@sfbay 2004-08-05
05-08-2004