Index: jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java,v retrieving revision 1.12 diff -u -r1.12 JspFactoryImpl.java --- jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java 2001/03/31 22:30:38 1.12 +++ jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java 2001/04/01 10:32:20 @@ -80,13 +80,8 @@ public class JspFactoryImpl extends JspFactory { private SimplePool pool=new SimplePool( 100 ); private static final boolean usePool=true; - static String lineSeparator; + static String lineSeparator = System.getProperty("line.separator"); static { - try { - lineSeparator = System.getProperty("line.separator"); - } catch( RuntimeException ex ) { - lineSeparator="\r\n"; - } // This whole things allows us to set the writer line // separator when we init jasper, i.e. in priv. mode - // without it we would need a priviledged action.