diff options
author | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-23 19:59:31 +0000 |
---|---|---|
committer | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-23 19:59:31 +0000 |
commit | c1dccbcc1603c23acc4b6a13efd7a12d007588f9 (patch) | |
tree | a094b01d9cbc1da5277a2f87e776b7fb146d7e2f /libjava/exception.cc | |
parent | deff3a7fa78048cc09415ce94a8170935730bda2 (diff) | |
download | gcc-c1dccbcc1603c23acc4b6a13efd7a12d007588f9.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60450 138bc75d-0d04-0410-961f-82ee72b054a4
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 917d6e10a76..d983f98f8fa 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)) { |