JDK-6900043 : Add method to return line.separator property
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 6,7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2009-11-11
  • Updated: 2017-05-16
  • Resolved: 2009-12-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b78Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Querying the line.separator value is a common occurence in large systems.  Doing this properly is verbose and involves possible sercurity failures; having a method return this value would be beneificial.
For discussion see
http://mail.openjdk.java.net/pipermail/core-libs-dev/2009-November/003176.html

Comments
EVALUATION A fine idea.
11-11-2009

SUGGESTED FIX See http://cr.openjdk.java.net/~martin/webrevs/openjdk7/line.separator/
11-11-2009