From mboxrd@z Thu Jan 1 00:00:00 1970 From: apbianco@gcc.gnu.org To: apbianco@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: java/1261 Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-id: <20010215012600.6480.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q1/msg01288.html List-Id: The following reply was made to PR java/1261; it has been noted by GNATS. From: apbianco@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: java/1261 Date: 15 Feb 2001 01:23:23 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_0-branch Changes by: apbianco@gcc.gnu.org 2001-02-14 17:23:23 Modified files: gcc/java : ChangeLog parse.y typeck.c Log message: 2001-02-14 Tom Tromey Alexandre Petit-Bianco 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 * 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 * 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 ) Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.647.2.2&r2=1.647.2.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.251.2.2&r2=1.251.2.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.37&r2=1.37.2.1