summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-17 18:34:14 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-17 18:34:14 +0000
commita40b5397199b6e36510be89948a123d1130be2b5 (patch)
tree1852c398c34ed122d41ae83eee3ab9a1d281a63f /libjava
parent659ba61f37256ce6a121732fcbc7594063eb9d62 (diff)
downloadgcc-a40b5397199b6e36510be89948a123d1130be2b5.tar.gz
* gcj/field.h (_Jv_Field::getClass): Don't use JvAssert.
Fixes PR gcj/152. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/gcj/field.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index ac3afaaee2d..4464180a0d5 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-17 Tom Tromey <tromey@cygnus.com>
+
+ * gcj/field.h (_Jv_Field::getClass): Don't use JvAssert.
+ Fixes PR gcj/152.
+
2000-02-16 Tom Tromey <tromey@cygnus.com>
* jni.cc (_Jv_JNI_CallStaticMethodV): Added some assertions.
diff --git a/libjava/gcj/field.h b/libjava/gcj/field.h
index 5d2203e684d..ff8a40102ab 100644
--- a/libjava/gcj/field.h
+++ b/libjava/gcj/field.h
@@ -68,7 +68,9 @@ struct _Jv_Field
jclass getClass ()
{
- JvAssert (isResolved ());
+ // We can't use JvAssert here because it is not in a public
+ // header.
+ // JvAssert (isResolved ());
return type;
}