ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Vector/ComodifiedRemoveAllElements.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Vector/ComodifiedRemoveAllElements.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:20 2010 UTC vs.
Revision 1.3 by jsr166, Sat Oct 16 16:00:28 2010 UTC

# Line 37 | Line 37 | public class ComodifiedRemoveAllElements
37          v.addElement(null);
38          Iterator it = v.iterator();
39          v.removeAllElements();
40 <        try{
40 >        try {
41              it.next();
42          } catch (ConcurrentModificationException cme) {
43              return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines