United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 5055213 Clarify that it is the collection class' iterators which implements Iterator
5055213 : Clarify that it is the collection class' iterators which implements Iterator

Details
Type:
Bug
Submit Date:
2004-05-31
Status:
Resolved
Updated Date:
2004-06-17
Project Name:
JDK
Resolved Date:
2004-06-17
Component:
core-libs
OS:
solaris_2.6
Sub-Component:
java.util.concurrent
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0

Related Reports

Sub Tasks

Description

Name: vsR10316			Date: 05/31/2004


Filed By      : SPB JCK team (###@###.###)
JDK           : 
JCK           : 1.5
Platform[s]   : Solaris
switch/Mode   : 
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : N/A


Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
...
Description for class java.util.concurrent.LinkedBlockingQueue:
...
This class implements all of the optional methods of the Collection and Iterator interfaces.
...
...
---------- end-of-excerpt ---------------

Problem description
===================
There should be mentioned Iterable interface that this class implements instead of Iterator.

JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
    
======================================================================

Name: acR10002			Date: 06/01/2004

There should be mentioned Iterable interface that this class implements instead of 
Iterator.

Same for other Queues implementation in package java.util.concurrent

======================================================================

                                    

Comments
PUBLIC COMMENTS

-
                                     
2004-09-19
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger-rc

FIXED IN:
tiger-rc

INTEGRATED IN:
tiger-b57
tiger-rc


                                     
2004-09-19
EVALUATION

Doug Lea writes:
"The submitter was right to question the wording of:
   This class implements all of the optional methods of the Collection and Iterator interfaces.

But wrong about the suggestion/bug. Like other JSR166 collections,
it should say here:

  This class and its iterator implement all of the optional methods of the Collection and Iterator interfaces.

The same problem existed in ConcurrentLinkedQueue and PriorityQueue,
which should also be changed accordingly."

###@###.### 2004-06-02
                                     
2004-06-02



Hardware and Software, Engineered to Work Together