OSDN Git Service

gcc/java:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 May 2005 13:23:35 +0000 (13:23 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 May 2005 13:23:35 +0000 (13:23 +0000)
commit67dd4de462d7aab2b4a91d9fbcde881992e31c80
treefeb534487f7c16b52aaa30fbe27ccd9255bc7194
parentfea849d3ae75cee1c377ecb89c6b0876e1fb601b
gcc/java:
2005-05-10  Paolo Bonzini  <bonzini@gnu.org>

PR java/21436
* class.c (maybe_layout_super_class): Look for imports in this_class.
* parse.h (ctxp_for_generation_last): New.
(do_resolve_class): Add a parameter.
* parse.y (ctxp_for_generation_last): New.
(java_pop_parser_context): Add at end of list.
(find_in_imports, find_in_imports_on_demand): Look in ctxp
if the TYPE_IMPORT_LIST or respectively the TYPE_IMPORT_DEMAND_LIST of
the given type are NULL.
(do_resolve_class): Look into the imports of the new second parameter.
Adjust recursive calls.
(resolve_class, resolve_inner_class, find_as_inner_class): Adjust
calls to do_resolve_class.
(create_class): Set the TYPE_IMPORT_LIST and TYPE_IMPORT_DEMAND_LIST.
(java_complete_class): Do not do that here.

libjava:
2005-05-10  Paolo Bonzini  <bonzini@gnu.org>

PR java/21436
* testsuite/libjava.jacks/jacks.xfail: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99513 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/parse.h
gcc/java/parse.y
libjava/ChangeLog
libjava/testsuite/libjava.jacks/jacks.xfail