diff options
author | Andrew Haley <aph@redhat.com> | 2006-02-09 14:05:31 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2006-02-09 14:05:31 +0000 |
commit | 58e0c554fd7a78dad40f5b0ab705955cfd8bba43 (patch) | |
tree | 4cfb812e9d54ac2be786147f6a729bdeebf0b08c /gcc/java/expr.c | |
parent | 1651647cb7f3ccc1345155ce478a96ab3b9d99b3 (diff) | |
download | gcc-58e0c554fd7a78dad40f5b0ab705955cfd8bba43.zip gcc-58e0c554fd7a78dad40f5b0ab705955cfd8bba43.tar.gz gcc-58e0c554fd7a78dad40f5b0ab705955cfd8bba43.tar.bz2 |
re PR java/26192 (ICE while compiling jar or class file (azureus))
2006-02-09 Andrew Haley <aph@redhat.com>
PR java/26192
* expr.c (expand_invoke): Allow methods in arrays to be resolved
in their superclass.
* typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
array types.
From-SVN: r110799
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 52f7e48..785ccc4 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -2279,6 +2279,7 @@ expand_invoke (int opcode, int method_ref_index, int nargs ATTRIBUTE_UNUSED) superclass chain when we're BC-compiling. */ if (! flag_verify_invocations && method + && ! TYPE_ARRAY_P (self_type) && self_type != DECL_CONTEXT (method)) method = NULL_TREE; |