AbstractList.java (remove): Comment out modCount increment to work around compiler...
authorBryce McKinlay <bryce@albatross.co.nz>
Thu, 2 Nov 2000 10:17:15 +0000 (10:17 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Thu, 2 Nov 2000 10:17:15 +0000 (10:17 +0000)
2000-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

* java/util/AbstractList.java (remove): Comment out modCount
increment to work around compiler bug.
(add): Ditto.

From-SVN: r37204

libjava/ChangeLog
libjava/java/util/AbstractList.java

index 4ad11eb751c5bdce2aac8aaa9f4ed2e9bdbc1907..89e23c4d1d09311b7ee0ff18707ae15194c306ef 100644 (file)
@@ -1,3 +1,9 @@
+2000-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * java/util/AbstractList.java (remove): Comment out modCount increment
+       to work around compiler bug.
+       (add): Ditto.
+
 2000-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
 
        * java/util/AbstractList.java: Throw messages with 
index 03282e5ebe80716f18e943ee52966e4392a3d205..cec2c298fad0695b537ce11a7754459a1479346e 100644 (file)
@@ -496,7 +496,8 @@ public abstract class AbstractList extends AbstractCollection implements List
         public void remove()
        {
           i.remove();
-         SubList.this.modCount++;
+         // FIXME: Uncomment the following line once the compiler is fixed.
+         //SubList.this.modCount++;
           size--;
           position = nextIndex();
         }
@@ -509,7 +510,8 @@ public abstract class AbstractList extends AbstractCollection implements List
         public void add(Object o)
        {
           i.add(o);
-         SubList.this.modCount++;
+         // FIXME: Uncomment the following line once the compiler is fixed.
+         //SubList.this.modCount++;
           size++;
           position++;
         }