[multiple changes]

2003-08-08  Andrew Haley  <aph@redhat.com>

        * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
        * Makefile.in: Rebuild.
        * java/lang/natRuntime.cc (insertSystemProperties): Add
        "sun.boot.class.path".

2003-08-07  Andrew Haley  <aph@redhat.com>

        * java/io/PrintStream.java: Don't crash on a null string.

From-SVN: r70250
This commit is contained in:
Andrew Haley 2003-08-08 16:26:00 +00:00 committed by Andrew Haley
parent 258e7dbc94
commit fcbe85cdfe
5 changed files with 20 additions and 4 deletions

View file

@ -256,7 +256,7 @@ public class PrintStream extends FilterOutputStream
{
pw.print (str);
if (auto_flush)
if (str != null && auto_flush)
if ((str.indexOf ('\r') != -1)
|| (str.indexOf ('\n') != -1))
flush ();