From de3cb4e4c18d35375226e557402ec64b6c70d5ef Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 17 Feb 2000 18:34:14 +0000 Subject: [PATCH] re GNATS gcj/152 (Installation flaw) * gcj/field.h (_Jv_Field::getClass): Don't use JvAssert. Fixes PR gcj/152. From-SVN: r32036 --- libjava/ChangeLog | 5 +++++ libjava/gcj/field.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * gcj/field.h (_Jv_Field::getClass): Don't use JvAssert. + Fixes PR gcj/152. + 2000-02-16 Tom Tromey * 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; }