From mboxrd@z Thu Jan 1 00:00:00 1970 From: bryce@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Subject: java/4467: Ambiguous name resolution problem Date: Wed, 03 Oct 2001 23:46:00 -0000 Message-id: <20011004064527.12895.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00049.html List-Id: >Number: 4467 >Category: java >Synopsis: Ambiguous name resolution problem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: accepts-illegal >Submitter-Id: net >Arrival-Date: Wed Oct 03 23:46:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: bryce@gcc.gnu.org >Release: gcc version 3.1 20011003 (experimental) >Organization: >Environment: >Description: GCJ should reject this illegal code, because name resolution should stop at the innermost scope which defines "X". See JLS 6.5.2. package X; class Y {} class X { void a(X.Y xy) {} } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: