debug output problem in ObjectInputStream

Tom Tromey tromey@redhat.com
Tue Apr 2 14:34:00 GMT 2002


>>>>> "Per" == Per Bothner <per@bothner.com> writes:

Per> So if we want to keep the debugging printout, I suggest:

Per>    if (Configuration.DEBUG && dump)
Per>      for (int i=0, len=Array.getLength(array); i < len; i++)
Per>        System.out.println("  ELEMENT[" + i + "]=" + Array.get(array, i));

As I recall, Warren wrote all the debugging code.  He's probably in
the best position to say how useful it really is.  I've CC'd him.
(Warren, I'll forward you Per's note separately.)

Tom



More information about the Java mailing list