This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hashtable order


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]