This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: remove debugging print
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: remove debugging print
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Tue, 25 Jan 2000 16:56:28 -0800 (PST)
I'm committing the appended patch, which removes a debugging print
from the interpreter.
Tue Jan 25 08:51:16 2000 Tom Tromey <tromey@ferrule.cygnus.com>
* interpret.cc (run): Don't call println.
Don't include PrintStream.h.
Tom
Index: interpret.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/interpret.cc,v
retrieving revision 1.8
diff -u -r1.8 interpret.cc
--- interpret.cc 2000/01/19 21:08:03 1.8
+++ interpret.cc 2000/01/26 00:54:46
@@ -22,7 +22,6 @@
#include <java/lang/String.h>
#include <java/lang/Integer.h>
#include <java/lang/StringBuffer.h>
-#include <java/io/PrintStream.h>
#include <java/lang/Class.h>
#include <java/lang/reflect/Modifier.h>
#include <java/lang/ClassCastException.h>
@@ -285,9 +284,6 @@
/** handle an exception */
if ( find_exception (ex, inv) )
goto next_segment;
-
- java::lang::System::out->println
- (_Jv_NewStringUTF (self->name->data));
return ex;
}