public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1346: resolving name when there are multiple choices
@ 2000-12-20 12:25 magnus.persson
  0 siblings, 0 replies; only message in thread
From: magnus.persson @ 2000-12-20 12:25 UTC (permalink / raw)
  To: java-gnats

>Number:         1346
>Category:       java
>Synopsis:       resolving name when there are multiple choices
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:19:15 PST 2000
>Closed-Date:    
>Last-Modified:  Thu Oct 19 21:16:01 PDT 2000
>Originator:     magnus persson
>Release:        latest cvs from approx 1 week ago(gcj + compiler)
>Organization:
>Environment:

>Description:
try to make an instance of a TreeSet-object with sun:s
collection-classes. (collections.jar) for use with jdk1.1

stock/Stock.java: In class `stock.Stock':
stock/Stock.java: In method `fixSortOrder()':
stock/Stock.java:519: Can't find method `toArray()' in type `com.sun.java.util.collections.TreeSet'. Candidates are:
  `toArray()' in `com.sun.java.util.collections.Set'
  `toArray()' in `com.sun.java.util.collections.AbstractCollection'.
      Object[] o=quotes.toArray();
                       ^
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR gcj/320


From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: magnus.persson@thephonepages.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/320: resolving name when there are multiple choices
Date: Wed, 16 Aug 2000 12:27:37 -0700 (PDT)

 magnus.persson@thephonepages.com writes:
 
 > try to make an instance of a TreeSet-object with sun:s
 > collection-classes. (collections.jar) for use with jdk1.1
 > 
 > stock/Stock.java: In class `stock.Stock':
 > stock/Stock.java: In method `fixSortOrder()':
 > stock/Stock.java:519: Can't find method `toArray()' in type `com.sun.java.util.collections.TreeSet'. Candidates are:
 >   `toArray()' in `com.sun.java.util.collections.Set'
 >   `toArray()' in `com.sun.java.util.collections.AbstractCollection'.
 >       Object[] o=quotes.toArray();
 >                        ^
 
 [I'm assuming this is using Sun's code, tell me if I'm wrong.]
 
 If this is using Sun's code, we won't look into the bug in order to
 avoid exposure to their code. But if you think you could write a test
 case that replicates the bug without using any of Sun's code, I would
 be more than happy to work on the case.
 
 ./A

From: Bryce McKinlay <bryce@albatross.co.nz>
To: magnus.persson@thephonepages.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/320: resolving name when there are multiple choices
Date: Thu, 17 Aug 2000 11:25:05 +1200

 magnus.persson@thephonepages.com wrote:
 
 > try to make an instance of a TreeSet-object with sun:s
 > collection-classes. (collections.jar) for use with jdk1.1
 >
 > stock/Stock.java: In class `stock.Stock':
 > stock/Stock.java: In method `fixSortOrder()':
 > stock/Stock.java:519: Can't find method `toArray()' in type `com.sun.java.util.collections.TreeSet'. Candidates are:
 >   `toArray()' in `com.sun.java.util.collections.Set'
 >   `toArray()' in `com.sun.java.util.collections.AbstractCollection'.
 >       Object[] o=quotes.toArray();
 >                        ^
 
 This is most likely the same as PR 285, for which I have previously posted a patch (the patch has not yet been approved
 by Alex).
 
 See:
 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=285&database=java
 
 regards
 
   [ bryce ]
 
 
State-Changed-From-To: open->feedback
State-Changed-By: apbianco
State-Changed-When: Thu Oct 19 21:08:33 2000
State-Changed-Why:
    I checked in Bryce's patch. Let me know how it works out for you:
      http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00646.html

From: apbianco@cygnus.com
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com,
  magnus.persson@thephonepages.com
Cc:  
Subject: Re: gcj/320
Date: 20 Oct 2000 04:08:33 -0000

 Synopsis: resolving name when there are multiple choices
 
 State-Changed-From-To: open->feedback
 State-Changed-By: apbianco
 State-Changed-When: Thu Oct 19 21:08:33 2000
 State-Changed-Why:
     I checked in Bryce's patch. Let me know how it works out for you:
       http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00646.html
 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=320&database=java
>Unformatted:



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-20 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:25 java/1346: resolving name when there are multiple choices magnus.persson

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).