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

Put a @since 1.7 on System.lineSeparator

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: