diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-04-28 00:21:06 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-04-28 00:21:06 +0000 |
commit | e815887f4d7e3aaa8e68584729c18c9b3c5fef05 (patch) | |
tree | 8b68598e702242c042747ef9d9b00aed4e7d7ab0 /README | |
parent | db6a1df0e0f18a86827e97092fa1293adcc2e89e (diff) | |
download | gcc-e815887f4d7e3aaa8e68584729c18c9b3c5fef05.zip gcc-e815887f4d7e3aaa8e68584729c18c9b3c5fef05.tar.gz gcc-e815887f4d7e3aaa8e68584729c18c9b3c5fef05.tar.bz2 |
re GNATS gcj/2 (Method call on null instance should throw NullPointerException)
Fix for PR gcj/2:
* expr.c (expand_invoke): Generate check to see if object pointer
is null in nonvirtual invocation case.
* java-tree.h (soft_nullpointer_node): Declare.
* decl.c (soft_nullpointer_node): New global.
(init_decl_processing): Initialize soft_nullpointer_node.
* parse.y (invocation_mode): Return INVOKE_NONVIRTUAL for `final'
or `private' methods.
(patch_invoke): Handle INVOKE_NONVIRTUAL case.
From-SVN: r33495
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions