JDK-8011796 : Missing " Since: 1.7 " marking for java.lang.System#lineSeparator
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-04-04
  • Updated: 2013-04-09
  • Resolved: 2013-04-09
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE PROBLEM :
Method java.lang.System#lineSeparator first appeared in the specification of Java SE 7. However, it doesn't have the usual  " Since: 1.7 "  marking that other methods/classes usually have. Please add that marking. These version markings are important for those want to make their code as portable as possible.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
 " Since: 1.7 "  in the description of method System#lineSeparator.
ACTUAL -
No version marking, suggesting that method System#lineSeparator was introduced in the same version as class System itself.

URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html