diff options
author | Jeff Sturm <jsturm@one-point.com> | 2002-12-23 19:59:31 +0000 |
---|---|---|
committer | Jeff Sturm <jsturm@gcc.gnu.org> | 2002-12-23 19:59:31 +0000 |
commit | 4017ae6e8b8f427065a97d0e99afa7347186c1ab (patch) | |
tree | a094b01d9cbc1da5277a2f87e776b7fb146d7e2f /libjava/exception.cc | |
parent | d3ab697ba4d1eeeecc4ab37337cbcad455c80057 (diff) | |
download | gcc-4017ae6e8b8f427065a97d0e99afa7347186c1ab.zip gcc-4017ae6e8b8f427065a97d0e99afa7347186c1ab.tar.gz gcc-4017ae6e8b8f427065a97d0e99afa7347186c1ab.tar.bz2 |
exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit of catch_type.
* exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
of catch_type.
* java/lang/natClass.cc (initializeClass): Link vtable, otable,
idt tables after initializing superclass.
* java/lang/natClassLoader.cc (uaddr): New typedef.
(_Jv_PrepareCompiledClass): Resolve superclass, interfaces
if they are constant pool indicies. Don't link vtable, otable yet.
From-SVN: r60450
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r-- | libjava/exception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc index 917d6e1..d983f98 100644 --- a/libjava/exception.cc +++ b/libjava/exception.cc @@ -338,7 +338,7 @@ PERSONALITY_FUNCTION (int version, // The catch_type is either a (java::lang::Class*) or // is one more than a (Utf8Const*). if ((size_t)catch_type & 1) - catch_type = _Jv_FindClass ((Utf8Const*)catch_type - 1, NULL); + catch_type = _Jv_FindClass ((Utf8Const*)((size_t)catch_type ^ 1), NULL); if (_Jv_IsInstanceOf (xh->value, catch_type)) { |