Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: X10 2.2
-
Fix Version/s: X10 2.4
-
Component/s: Class Libraries
-
Labels:None
-
Number of attachments :
Description
.
=======================================================================
DEFECT ABSTRACT : HashMap: some methods not implemented
AFFECTED TEST CASES :
DRIVER : /X10/drivers/sles11/220/110624
Checked out revision 22318
========================================================================
PROBLEM DESCRIPTION
------------------------------------------------------------------------
Some of the methods of HashMap nested classes are not yet implemented and
just throw "UnsupportedOperationException"
HashMap.x10:277: public def add(k: Key): Boolean
{ throw new UnsupportedOperationException(); }HashMap.x10:278: public def remove(k: Key): Boolean { throw new UnsupportedOperationException(); }
HashMap.x10:279: public def clone(): KeySet[Key,Value]
{ throw new UnsupportedOperationException(); }HashMap.x10:295: public def contains(k: Map.Entry[Key,Value]): Boolean { throw new UnsupportedOperationException(); }
HashMap.x10:296: public def add(k: Map.Entry[Key,Value]): Boolean
{ throw new UnsupportedOperationException(); }HashMap.x10:297: public def remove(k: Map.Entry[Key,Value]): Boolean { throw new UnsupportedOperationException(); }
HashMap.x10:298: public def clone(): EntrySet[Key,Value]
{ throw new UnsupportedOperationException(); } This defect is to keep track on that implementation not to go unintentionally
for too long (since defects are re-reviewed with product releases)
=======================================================================
bulk defer of "feature-like" issues to next major release (2.3 to 2.4).