From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7814 invoked by alias); 10 May 2005 13:24:50 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 7537 invoked by alias); 10 May 2005 13:24:32 -0000 Date: Tue, 10 May 2005 13:24:00 -0000 Message-ID: <20050510132432.7536.qmail@sourceware.org> From: "cvs-commit at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20050507071353.21436.bonzini@gcc.gnu.org> References: <20050507071353.21436.bonzini@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/21436] imports not remembered for previously compiled files X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00403.txt.bz2 List-Id: ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-10 13:24 ------- Subject: Bug 21436 CVSROOT: /cvs/gcc Module name: gcc Changes by: bonzini@gcc.gnu.org 2005-05-10 13:23:40 Modified files: libjava : ChangeLog libjava/testsuite/libjava.jacks: jacks.xfail gcc/java : ChangeLog class.c parse.h parse.y Log message: gcc/java: 2005-05-10 Paolo Bonzini 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 PR java/21436 * testsuite/libjava.jacks/jacks.xfail: Adjust. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3603&r2=1.3604 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jacks/jacks.xfail.diff?cvsroot=gcc&r1=1.21&r2=1.22 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1607&r2=1.1608 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/class.c.diff?cvsroot=gcc&r1=1.225&r2=1.226 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.h.diff?cvsroot=gcc&r1=1.105&r2=1.106 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.532&r2=1.533 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21436