diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2005-07-07 14:43:59 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2005-07-07 15:43:59 +0100 |
commit | cb14ee6a7695d334eab5042ee87786ad8678bef4 (patch) | |
tree | 23cd22739e5ec754982f27e1dd67c2c4aa2e7712 /libjava | |
parent | 90475fe0fc9f86f93f961c29050af9a7c1545396 (diff) | |
download | gcc-cb14ee6a7695d334eab5042ee87786ad8678bef4.zip gcc-cb14ee6a7695d334eab5042ee87786ad8678bef4.tar.gz gcc-cb14ee6a7695d334eab5042ee87786ad8678bef4.tar.bz2 |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/testsuite/libjava.jacks/jacks.xfail | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index e0825bb..4e173ee 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2005-07-07 Bryce McKinlay <mckinlay@redhat.com> + * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4, + 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17. + +2005-07-07 Bryce McKinlay <mckinlay@redhat.com> + * testsuite/libjava.compile/PR21045.java: New test. * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1, 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7. diff --git a/libjava/testsuite/libjava.jacks/jacks.xfail b/libjava/testsuite/libjava.jacks/jacks.xfail index 68af018..0472b55 100644 --- a/libjava/testsuite/libjava.jacks/jacks.xfail +++ b/libjava/testsuite/libjava.jacks/jacks.xfail @@ -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 |