swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MapImpl


From: Fred Wan
Subject: MapImpl
Date: Thu, 7 Jun 2001 15:13:50 +0200

Hi, there seems to be a bug in the implementation of MapImpl in the newer
versions of swarm (for NT). It is not possible to obtain the objects by the
key with which they where inserted into the map (and essential functionality
I would say). There is a little test program enclosed that gives different
results on different versions of swarm. The first is on the _newest_ version
(NT), while the second is on a somewhat older version for Solaris.

Thanks,
Fred Wan.


address@hidden/cygdrive/h/swarm/java/WorkingExamples/TestMapImpl] $ javaswarm
TestGUISwarm

Moving at: 1
This should be First: null
And this should be Second: null
Does the map contain key 1? false
What is the first member of newMap? First


address@hidden(TestMapImpl)% make run
/opt/swarm/swarm-2001-04-02/bin/javaswarm TestGUISwarm
Moving at: 1
This should be First: First
And this should be Second: Second
Does the map contain key 1? true
What is the first member of newMap? First

Attachment: TestGUISwarm.java
Description: Binary data

Attachment: Makefile
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]