parse.y (parser_check_super_interface): Don't call check_pkg_class_access for an...
authorBryce McKinlay <bryce@albatross.co.nz>
Mon, 19 Feb 2001 22:48:16 +0000 (22:48 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 19 Feb 2001 22:48:16 +0000 (22:48 +0000)
commita648f4e4c8f0690cf47fe6fd93030e0a8f63c6a2
treedc1b2d13ca87935b5267bbcdcabc2bda48c99151
parent2c0fc02de295b3d3eebdf0ff6120de5cab010435
parse.y (parser_check_super_interface): Don't call check_pkg_class_access for an inner interface.

* parse.y (parser_check_super_interface): Don't call
check_pkg_class_access for an inner interface.
(parser_check_super): Don't call check_pkg_class_access for inner
class.
(do_resolve_class): Simplify enclosing type loop. Don't call
check_pkg_class_access if CL and DECL are not set.
(find_in_imports_on_demand): Set DECL if class_type needed to be
loaded. Don't call check_pkg_class_access for an inner class.
(check_inner_class_access): Rewritten to implement member access
rules as per spec 6.6.1.
(check_pkg_class_access): Handle the empty package correctly.
(in_same_package): New function. Determine if two classes are in the
same package.

From-SVN: r39909
gcc/java/ChangeLog
gcc/java/parse.y