2001-02-14 Tom Tromey <tromey@redhat.com>
commit61080c29c199ee390eddb24e93214e929e37ea28
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Feb 2001 01:23:32 +0000 (15 01:23 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Feb 2001 01:23:32 +0000 (15 01:23 +0000)
tree94a9f394e08ff9de11cac1c913d8085fcd9b5e34
parentac68560d27ef7df975678a01b24b403de2526ae6
2001-02-14  Tom Tromey  <tromey@redhat.com>
            Alexandre Petit-Bianco  <apbianco@redhat.com>

        Fix for PR java/1261.
        * typeck.c (build_java_array_type): Add public `clone' method to
        arrays.
        * parse.y (resolve_qualified_expression_name): Use current_class
when checking for inaccessibility.
        (patch_method_invocation): Fixed error message when accessibility
denied.  Added `from_super' argument.

2001-02-14  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (resolve_class): Don't build a fake decl. Use the one
already built.
* typeck.c (build_java_array_type): Build and assign decl to array
type.

2001-02-14  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (not_accessible_p): Changed leading comment. Added extra
`where' argument. Use it to enforce protected access rules.
(resolve_qualified_expression_name): Added extra argument to
not_accessible_p.
(patch_method_invocation): Use argument `primary' to provide
not_accessible_p with an extra argument.
(lookup_method_invoke): Added extra argument to not_accessible_p.
(search_applicable_method_list): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00849.html)

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