Patch: prims.cc cleanup
Tom Tromey
tromey@cygnus.com
Mon Jan 17 10:55:00 GMT 2000
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;
}
};
More information about the Java-patches
mailing list