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()
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()
- duplicates
-
JDK-6367207 Ensure correctness of all @since tags added since 1.2
-
- Resolved
-