Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084133 | emb-9 | Claes Redestad | P4 | Resolved | Fixed | team |
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.
- backported by
-
JDK-8084133 Remove constructor dependency on line.separator from PrintWriter and BufferedWriter
-
- Resolved
-
- relates to
-
JDK-8219992 Correct the documentation of PrintWriter to refer to System.lineSeparator
-
- Closed
-
-
JDK-8049847 Enhance PrintWriter line.separator handling
-
- Closed
-