OSDN Git Service

* parse.y (parser_check_super_interface): Don't call
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Feb 2001 22:48:16 +0000 (22:48 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Feb 2001 22:48:16 +0000 (22:48 +0000)
commit0417a943d262b20e403d8d49e1587f60688ed088
treedc1b2d13ca87935b5267bbcdcabc2bda48c99151
parent2af7080cc7b325eafe6e2b0464c5a9e5d8ff2bc7
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39909 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/parse.y