Hi all,

I've cleaned things up in ObjectInputStream a bit.

2005-07-10  Dalibor Topic  <[EMAIL PROTECTED]>

        * java/io/ObjectInputStream.java (DEBUG):
        New private static field.
        (ObjectInputStream, resolveClass) Use DEBUG.

cheers,
dalibor topic
? bin
Index: java/io/ObjectInputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/ObjectInputStream.java,v
retrieving revision 1.58
diff -u -r1.58 ObjectInputStream.java
--- java/io/ObjectInputStream.java	2 Jul 2005 20:32:38 -0000	1.58
+++ java/io/ObjectInputStream.java	10 Jul 2005 17:30:17 -0000
@@ -75,7 +75,7 @@
   public ObjectInputStream(InputStream in)
     throws IOException, StreamCorruptedException
   {
-    if (Configuration.DEBUG)
+    if (DEBUG)
       {
 	String val = System.getProperty("gcj.dumpobjects");
 	if (dump == false && val != null && !val.equals(""))
@@ -773,7 +773,7 @@
     if (callersClassLoader == null)
       {
 	callersClassLoader = currentLoader ();
-	if (Configuration.DEBUG && dump)
+	if (DEBUG && dump)
 	  {
 	    dumpElementln ("CallersClassLoader = " + callersClassLoader);
 	  }
@@ -1910,6 +1910,8 @@
 
   // The nesting depth for debugging output
   private int depth = 0;
+
+  private static final boolean DEBUG = false;
 
   private void dumpElement (String msg)
   {
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to