Issue1707681
Created on 2007-04-25.20:09:08 by crotwell, last changed 2007-04-26.07:41:03 by cgroves.
msg2699 (view) |
Author: Philip Crotwell (crotwell) |
Date: 2007-04-25.20:09:08 |
|
Allow any object with an iterator() method to be iterated. This one method is the Iterable interface in 1.5, but calling it by reflection works in 1.4.
|
msg2700 (view) |
Author: Charlie Groves (cgroves) |
Date: 2007-04-25.20:15:58 |
|
This will throw a ClassCastException if object has an iterator method that returns something other than Iterator. It should check for that and return null if it isn't actually an Iterator. Other than that, looks good.
|
msg2701 (view) |
Author: Philip Crotwell (crotwell) |
Date: 2007-04-25.20:36:08 |
|
Yep, fixed in new patch
File Added: Iterable_iterator2.diff
|
msg2702 (view) |
Author: Charlie Groves (cgroves) |
Date: 2007-04-26.07:41:03 |
|
Committed in r3190.
|
|
Date |
User |
Action |
Args |
2007-04-25 20:09:08 | crotwell | create | |
|