gcj/320: resolving name when there are multiple choices
Bryce McKinlay
bryce@albatross.co.nz
Wed Aug 16 16:30:00 GMT 2000
The following reply was made to PR gcj/320; it has been noted by GNATS.
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 ]
More information about the Java-prs
mailing list