public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/1932: Yet another problem resolving qualified method call with inner classes
@ 2002-01-20 17:14 bryce
  0 siblings, 0 replies; 2+ messages in thread
From: bryce @ 2002-01-20 17:14 UTC (permalink / raw)
  To: apbianco, bryce, gcc-bugs, gcc-prs, java-prs

Synopsis: Yet another problem resolving qualified method call with inner classes

State-Changed-From-To: feedback->closed
State-Changed-By: bryce
State-Changed-When: Sun Jan 20 17:14:42 2002
State-Changed-Why:
    Fix confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1932


^ permalink raw reply	[flat|nested] 2+ messages in thread

* java/1932: Yet another problem resolving qualified method call with inner classes
@ 2001-04-01  0:00 bryce
  0 siblings, 0 replies; 2+ messages in thread
From: bryce @ 2001-04-01  0:00 UTC (permalink / raw)
  To: gcc-gnats

>Number:         1932
>Category:       java
>Synopsis:       Yet another problem resolving qualified method call with inner classes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 11 00:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.97 20010207 (experimental)
>Organization:
>Environment:

>Description:
Compile the test case below. It reports:

$ gcj -c T.java
T.java: In class `T':
T.java: In method `T.c()':
T.java:17: Can't find method `toString()' in type `'. Candidates are:
  `Base.toString()' in `Base'
  `Cl.toString()' in `Cl'.
       n.toString();
        ^
1 error

Note that the type is blank in the error message and the
"In method" signature. The same error occurs when "Cl" is 
non-static, but in that case the type is correctly given
as `T$Node'

>How-To-Repeat:
class Base
{
  public String toString() {return "btb";}
}

class Cl
{
  public String toString() {return "geh";}
}

public class T extends Base
{
  static class Node extends Cl  {}

  void c(Node n)
  {
    n.toString();
  }
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-21  1:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-20 17:14 java/1932: Yet another problem resolving qualified method call with inner classes bryce
  -- strict thread matches above, loose matches on Subject: below --
2001-04-01  0:00 bryce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).