This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: prims.cc cleanup
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: prims.cc cleanup
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 17 Jan 2000 11:56:33 -0700
- Reply-To: tromey at cygnus dot com
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;
}
};