Commit a52706f2 by Tom Tromey Committed by Tom Tromey

defineclass.cc (handleClassBegin): Use Object::class$, not Class::class$, when…

defineclass.cc (handleClassBegin): Use Object::class$, not Class::class$, when initializing interface superclass.

	* defineclass.cc (handleClassBegin): Use Object::class$, not
	Class::class$, when initializing interface superclass.

From-SVN: r46754
parent 7ba2b35c
2001-11-03 Tom Tromey <tromey@redhat.com>
* defineclass.cc (handleClassBegin): Use Object::class$, not
Class::class$, when initializing interface superclass.
2001-11-02 Hans Boehm <Hans_Boehm@hp.com>
* java/util/natResourceBundle.cc:getClassContext: return
......
......@@ -915,12 +915,12 @@ _Jv_ClassReader::handleClassBegin
// interfaces have java.lang.Object as super.
if (access_flags & Modifier::INTERFACE)
{
def->superclass = (jclass)&java::lang::Class::class$;
def->superclass = (jclass)&java::lang::Object::class$;
}
// FIXME: Consider this carefully!
else if (!_Jv_equalUtf8Consts (def->name,
java::lang::Class::class$.name))
java::lang::Object::class$.name))
{
throw_no_class_def_found_error ("loading java.lang.Object");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment