Re: [tcljava-user] Jacl: tcl.lang.TclRuntimeError
Brought to you by:
mdejong
From: Mo D. <md...@cy...> - 2001-06-18 23:12:46
|
On Mon, 18 Jun 2001, Jeff Sturm wrote: > (Apologies in advance if this is a known problem... I've been away from > the list for a while now.) > > Every now and then, our application logs an error like: > > Jun 14 20:48:40 taubmanweb1 ERR: tcl.lang.TclRuntimeError: (find) table > entry "java.lang.String.17035487" mapped to an invalid entry, Searched (Class = > "java.lang.String" identityHashCode = "17035487" hashCode = "1828610235") > Found (refID = "java0xd099" Class = "java.lang.String" identityHashCode = > "17035487" hashCode = "1828610294") Equality Tests ( Class == "true" > Object == "false" Object.equals() == "false" Interp == "true") > > Apparently, the JDK can duplicate an identityHashCode. (I'm using Sun's > JDK 1.2.2 on Solaris.) > > Jeff That is a really old and nasty problem that has been fixed in the 1.3 version in the CVS. You should use the CVS version if you want to avoid this problem. You could also try back porting the rewrite of ReflectObject, but it would be no fun at all. Mo |