summaryrefslogtreecommitdiff
path: root/libjava/ChangeLog
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-11 03:47:48 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-11 03:47:48 +0000
commit6ba7ed48f50f5ebb1d9568f8b010cee60a5fd480 (patch)
treea87887486e291036f5eac4a8533c9b4456c7262d /libjava/ChangeLog
parentab28c0058403b8b6bd1b17d09dd26bce27a01ba9 (diff)
downloadgcc-6ba7ed48f50f5ebb1d9568f8b010cee60a5fd480.tar.gz
* Makefile.am: Add HashSet.java and java/lang/ref classes.
Remove BasicMapEntry.java and Bucket.java. * Makefile.in: Rebuilt. * java/util/HashMap.java: Rewritten. * java/util/HashSet.java: Imported from classpath. * java/util/WeakHashMap.java: Imported from classpath. * java/util/Hashtable.java: Rewritten based on new HashMap code. * java/util/Bucket.java: Deleted. * java/util/BasicMapEntry.java: Deleted. * java/util/Collections.java (search): Use a for-loop, not iterator hasNext(). (copy): Use a for-loop. Throw an IndexOutOfBoundsException if run out of elements in source. (max): Use a for-loop. (min): Ditto. (reverse): Keep track of positions instead of using Iterator's nextIndex() and previousIndex(). (shuffle(List)): Initialize defaultRandom if required using double-check thread safety idiom. Call two-argument shuffle method using defaultRandom. (defaultRandom): New field. (shuffle(List, Random)): Use a for-loop. Keep track of pos instead of using previousIndex() and nextIndex(). (singletonMap(iterator)): Use a HashMap.Entry, not BasicMapEntry. * java/util/AbstractCollection.java (toString): Use a StringBuffer. * java/util/AbstractMap.java (toString): Use StringBuffer. * java/lang/ref/PhantomReference.java: Imported from classpath. * java/lang/ref/SoftReference.java: Ditto. * java/lang/ref/Reference.java: Ditto. * java/lang/ref/WeakReference.java: Ditto. * java/lang/ref/ReferenceQueue.java: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/ChangeLog')
-rw-r--r--libjava/ChangeLog34
1 files changed, 34 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index c9a636a2483..97731123ba7 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,37 @@
+2000-12-11 Bryce McKinlay <bryce@albatross.co.nz>
+
+ * Makefile.am: Add HashSet.java and java/lang/ref classes.
+ Remove BasicMapEntry.java and Bucket.java.
+ * Makefile.in: Rebuilt.
+ * java/util/HashMap.java: Rewritten.
+ * java/util/HashSet.java: Imported from classpath.
+ * java/util/WeakHashMap.java: Imported from classpath.
+ * java/util/Hashtable.java: Rewritten based on new HashMap code.
+ * java/util/Bucket.java: Deleted.
+ * java/util/BasicMapEntry.java: Deleted.
+ * java/util/Collections.java (search): Use a for-loop, not iterator
+ hasNext().
+ (copy): Use a for-loop. Throw an IndexOutOfBoundsException if run out
+ of elements in source.
+ (max): Use a for-loop.
+ (min): Ditto.
+ (reverse): Keep track of positions instead of using Iterator's
+ nextIndex() and previousIndex().
+ (shuffle(List)): Initialize defaultRandom if required using
+ double-check thread safety idiom. Call two-argument shuffle method
+ using defaultRandom.
+ (defaultRandom): New field.
+ (shuffle(List, Random)): Use a for-loop. Keep track of pos instead of
+ using previousIndex() and nextIndex().
+ (singletonMap(iterator)): Use a HashMap.Entry, not BasicMapEntry.
+ * java/util/AbstractCollection.java (toString): Use a StringBuffer.
+ * java/util/AbstractMap.java (toString): Use StringBuffer.
+ * java/lang/ref/PhantomReference.java: Imported from classpath.
+ * java/lang/ref/SoftReference.java: Ditto.
+ * java/lang/ref/Reference.java: Ditto.
+ * java/lang/ref/WeakReference.java: Ditto.
+ * java/lang/ref/ReferenceQueue.java: Ditto.
+
2000-12-10 Richard Henderson <rth@redhat.com>
* configure.host: Recognize alpha*-*, not alphaev6-*.