This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: prims.cc cleanup


I'm checking in this patch, which fixes a minor bug in prims.cc.  When
originally written, the state values weren't even semi-publically
available.  Now they are.

2000-01-15  Tom Tromey  <tromey@cygnus.com>

	* prims.cc (_Jv_PrimClass): Use `JV_STATE_NOTHING', not `0'.

Tom

Index: prims.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/prims.cc,v
retrieving revision 1.16
diff -u -r1.16 prims.cc
--- prims.cc	2000/01/17 15:43:32	1.16
+++ prims.cc	2000/01/17 18:54:01
@@ -1,6 +1,6 @@
 // prims.cc - Code for core of runtime environment.
 
-/* Copyright (C) 1998, 1999  Cygnus Solutions
+/* Copyright (C) 1998, 1999, 2000  Cygnus Solutions
 
    This file is part of libgcj.
 
@@ -558,7 +558,7 @@
       interfaces = NULL;
       loader = NULL;
       interface_count = 0;
-      state = 0;		// FIXME.
+      state = JV_STATE_NOTHING;
       thread = NULL;
     }
 };

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]