[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:
committed by
Andrew Haley
parent
258e7dbc94
commit
fcbe85cdfe
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user