JDK-6459127 : java.net.URL.getDefaultPort() is missing @since 1.4 tag
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2006-08-10
  • Updated: 2010-04-02
  • Resolved: 2006-08-14
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE PROBLEM :
This method appears to have been added to the API in the 1.4 release since it doesn't appear in the 1.3 javadocs. However, since it was added to 1.4, it should include a @since 1.4 tag to make it clear that it can't be used in prior versions fo the jdk.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
@since 1.4
ACTUAL -
no @since tag

URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getDefaultPort()