diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-02 10:17:15 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-02 10:17:15 +0000 |
commit | 709425e90be328c673681c5df2e7efeb1157229a (patch) | |
tree | a9a6ac7ca73b79aa3e9ce772041eb74e0d64ffd0 /libjava/java | |
parent | 369a67794e5de32d7ce0891ed9fafd8808089cd9 (diff) | |
download | ppe42-gcc-709425e90be328c673681c5df2e7efeb1157229a.tar.gz ppe42-gcc-709425e90be328c673681c5df2e7efeb1157229a.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/util/AbstractList.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/java/util/AbstractList.java b/libjava/java/util/AbstractList.java index 03282e5ebe8..cec2c298fad 100644 --- a/libjava/java/util/AbstractList.java +++ b/libjava/java/util/AbstractList.java @@ -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++; } |