diff options
author | Martin Kahlert <martin.kahlert@infineon.com> | 2001-06-05 09:46:36 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-06-05 10:46:36 +0100 |
commit | c90efa7a1c9023899bc6b832a3122c0a9c932e39 (patch) | |
tree | 7bfa2a39962af82d451049cd9cf8ab4cf2159e32 /libjava/java/math | |
parent | bdef41acbee51b72655093f9ea9828a5d1599526 (diff) | |
download | gcc-c90efa7a1c9023899bc6b832a3122c0a9c932e39.zip gcc-c90efa7a1c9023899bc6b832a3122c0a9c932e39.tar.gz gcc-c90efa7a1c9023899bc6b832a3122c0a9c932e39.tar.bz2 |
natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds.
2001-06-05 Martin Kahlert <martin.kahlert@infineon.com>
Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors
table index is within allowed bounds. Ensure that we dont try to access
class itable at a negative offset. Avoid an ancestor table lookup if
source is a primitive type class.
(isInstance): Remove redundant isPrimitive() check.
Co-Authored-By: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
From-SVN: r42898
Diffstat (limited to 'libjava/java/math')
0 files changed, 0 insertions, 0 deletions