src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ToStream.java
changeset 48944 25aa8b9f1dae
parent 48409 5ab69533994b
child 48947 b4dd09b5d6d8
--- a/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ToStream.java	Fri Feb 23 22:09:16 2018 +0100
+++ b/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ToStream.java	Fri Feb 23 16:00:44 2018 -0500
@@ -138,8 +138,7 @@
      * but this value can be set through the xsl:output
      * extension attribute xalan:line-separator.
      */
-    protected char[] m_lineSep =
-        SecuritySupport.getSystemProperty("line.separator").toCharArray();
+    protected char[] m_lineSep = System.lineSeparator().toCharArray();
 
     /**
      * True if the the system line separator is to be used.