gcj/320: resolving name when there are multiple choices

magnus.persson@thephonepages.com magnus.persson@thephonepages.com
Wed Aug 16 10:50:00 GMT 2000


>Number:         320
>Category:       gcj
>Synopsis:       resolving name when there are multiple choices
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 16 10:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


More information about the Java-prs mailing list