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

Remove constructor dependency on line.separator from PrintWriter and BufferedWriter

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None
    • b47
    • generic
    • generic

        Current implementations of PrintWriter and BufferedWriter evaluate the system property line.separator at creation time, which means that users can set the value of this property before constructing either of these writers as a means to try and manipulate the writer. This should be discouraged and removed in favor of an approach where users instead can easily override the lineSeparator value.

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: