[multiple changes]
authorAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Thu, 15 Feb 2001 01:23:32 +0000 (17:23 -0800)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Thu, 15 Feb 2001 01:23:32 +0000 (17:23 -0800)
commite101152f8636505b18b7bdfd73bd1992702e094f
tree94a9f394e08ff9de11cac1c913d8085fcd9b5e34
parent2ccc6d5b41b774dee1ad7fd477f27e8016f644d2
[multiple changes]

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)

From-SVN: r39701
gcc/java/ChangeLog
gcc/java/parse.y
gcc/java/typeck.c