diff options
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)) { |