Patch: spelling fix

Tom Tromey tromey@cygnus.com
Wed Sep 1 12:09:00 GMT 1999


Another missed patch.
This one fixes a typo in a #define.

1999-09-01  Tom Tromey  <tromey@cygnus.com>

	* java/lang/Class.h (JV_STATE_NOTHING): Correct misspelling.

Tom

Index: Class.h
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/lang/Class.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Class.h	1999/08/18 14:16:41	1.4
+++ Class.h	1999/09/01 18:29:39	1.5
@@ -27,7 +27,7 @@
 // `resolved' must come between `nothing' and the other states.
 // Whenever the state changes, one should notify all waiters of this
 // class.
-#define JV_STATE_NOTING        0 // set by compiler
+#define JV_STATE_NOTHING       0 // set by compiler
 
 #define JV_STATE_PRELOADING    1 // can do _Jv_FindClass
 #define JV_STATE_LOADING       3 // has super installed

Index: natClassLoader.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/lang/natClassLoader.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- natClassLoader.cc	1999/08/20 11:40:35	1.4
+++ natClassLoader.cc	1999/09/01 18:29:39	1.5
@@ -405,7 +405,7 @@
 
       // registering a compiled class causes
       // it to be immediately "prepared".  
-      if (klass->state == JV_STATE_NOTING)
+      if (klass->state == JV_STATE_NOTHING)
 	klass->state = JV_STATE_COMPILED;
     }
 }


More information about the Java-patches mailing list