This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Hashtable order
- From: Tom Tromey <tromey at redhat dot com>
- To: "Santosh Cheler" <csk4you at hotmail dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: 25 Dec 2001 15:10:15 -0700
- Subject: Re: Hashtable order
- References: <OE60HrosJModH3Rxvzp00008244@hotmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Santosh" == Santosh Cheler <csk4you@hotmail.com> writes:
Santosh> I had a look at the source of Hashtable.java in jdk1.2
Santosh> and jdk1.3, and both were equivalent. So where is the
Santosh> difference? I know, order is not supported by java1.2
Santosh> spec, but does somebody know the matter?
We have our own implementation of Hashtable. It is probably different
from Sun's implementation, though I don't know exactly how, since I
can't look at Sun's code. As you say, Hashtable isn't required to
return the items in any particular order.
Santosh> I tried using gdb(with gcj), but I am not able to step into
Santosh> the java code. Any help here? any docs on debugging java
Santosh> source with gdb?
You'll probably want to rebuild libgcj with `-g'. That's what I do.
Tom