From 808fd801de9700471d99876e2ff4be467b8096f2 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Sun, 27 Jun 2004 00:34:57 +0000 Subject: [PATCH] parse.y (qualify_and_find): Pass type decl, not identifier, to load_class. * parse.y (qualify_and_find): Pass type decl, not identifier, to load_class. From-SVN: r83728 --- gcc/java/ChangeLog | 5 +++++ gcc/java/parse.y | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 7193e1a8b7f..e3e1964cb55 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2004-06-26 Bryce McKinlay + + * parse.y (qualify_and_find): Pass type decl, not identifier, to + load_class. + 2004-06-26 Bryce McKinlay PR java/15734 diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 5b8a3039f68..e4ad4cd2e22 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -5891,7 +5891,7 @@ qualify_and_find (tree class_type, tree package, tree name) if ((new_class_decl = IDENTIFIER_CLASS_VALUE (new_qualified))) { if (!CLASS_LOADED_P (TREE_TYPE (new_class_decl))) - load_class (new_qualified, 0); + load_class (TREE_TYPE (new_class_decl), 0); TYPE_NAME (class_type) = new_qualified; return IDENTIFIER_CLASS_VALUE (new_qualified); } -- 2.30.2