Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011796

Missing " Since: 1.7 " marking for java.lang.System#lineSeparator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7
    • core-libs
    • None

      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

            darcy Joe Darcy
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: