]> gcc.gnu.org Git - gcc.git/commit
re PR java/18119 (Private inner class is visible when it shouldn't be)
authorBryce McKinlay <mckinlay@redhat.com>
Thu, 7 Jul 2005 14:43:59 +0000 (14:43 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Thu, 7 Jul 2005 14:43:59 +0000 (15:43 +0100)
commitcb14ee6a7695d334eab5042ee87786ad8678bef4
tree23cd22739e5ec754982f27e1dd67c2c4aa2e7712
parent90475fe0fc9f86f93f961c29050af9a7c1545396
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
gcc/java/ChangeLog
gcc/java/parse.y
libjava/ChangeLog
libjava/testsuite/libjava.jacks/jacks.xfail
This page took 0.055151 seconds and 5 git commands to generate.