-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter,
Peter wrote: > I have come into a very [weird] problem. [snip] > List alist =new ArrayList(); > alist.add(0); put 0 into it > alist.get(0); get 1 as result. > > it occurs when i using JBuilder2006 to complie it and run under tomcat > 5.5.20. Are you sure that JBuilder is compiling your class? I've seen IDEs fail to compile source and leave you with an old version of the binary with little indication. If your class isn't compiling properly, maybe it's running something you wrote in the past. Can you verify that the class file isn't an old one? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGUhgP9CaO5/Lv0PARAp01AJ4ycdAbxtZbbUtULcnDMWc+2ikvRwCeP+UE q1WjP3e/cO270YyiQdPeWvo= =YNCb -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]