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

Put a @since 1.7 on System.lineSeparator

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Fixed
    • 7
    • 8
    • core-libs
    • b04
    • x86
    • windows_xp, windows_7
    • Verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      Put a @since 1.7 on System.lineSeparator

      (This is platform independent, but this wonderful bug tool force me to choose an OS)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      /**
           * Returns the system-dependent line separator string. It always
           * returns the same value - the initial value of the {@linkplain
           * #getProperty(String) system property} {@code line.separator}.
           *
           * <p>On UNIX systems, it returns {@code "\n"}; on Microsoft
           * Windows systems it returns {@code "\r\n"}.
          * @since 1.7
           */
      ACTUAL -
      /**
           * Returns the system-dependent line separator string. It always
           * returns the same value - the initial value of the {@linkplain
           * #getProperty(String) system property} {@code line.separator}.
           *
           * <p>On UNIX systems, it returns {@code "\n"}; on Microsoft
           * Windows systems it returns {@code "\r\n"}.
           */

      URL OF FAULTY DOCUMENTATION :
      http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/0dcdb13ab6d0

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: