re PR java/18119 (Private inner class is visible when it shouldn't be)

2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>

	PR java/18119
	* parse.y (inner_class_accessible): New function. Logic moved from
	check_inner_class_access.
	(check_inner_class_access): Use inner_class_accessible.
	(resolve_inner_class): Simplify arguments. Create circularity hash
	here. Keep looking for classes if we found one that was
	inaccessible. Return the inaccessible class only if there is no other
	match.
	(do_resolve_class): Update for new resolve_inner_class arguments.
	Don't create circularity_hash here.

From-SVN: r101715
This commit is contained in:
Bryce McKinlay
2005-07-07 14:43:59 +00:00
committed by Bryce McKinlay
parent 90475fe0fc
commit cb14ee6a76
4 changed files with 116 additions and 81 deletions
@@ -466,14 +466,10 @@
6.5.5.1-import-2
6.5.5.1-import-3
6.5.5.1-nested-14
6.5.5.1-nested-16
6.5.5.1-nested-17
6.5.5.1-nested-19
6.5.5.1-nested-20
6.5.5.1-nested-21
6.5.5.1-nested-23
6.5.5.1-nested-4
6.5.5.1-nested-7
6.5.5.1-nested-8
6.5.5.1-nested-9
6.5.5.2-type-4