2009/7/1 Tomek Grabiec <tgrab...@gmail.com>: > Classes can be equal even if the pointers are not equal. > That's because array classes are not cached and the same class may > be represented by different copies of struct vm_class. > > The proper soultion would be to cache array types also but it is > not something that can be easily done now.
Hm, can you explain this? The classloader caches all classes, also array types. See lookup_class() and classloader_load() in vm/classloader.c (that's lookup and insertion, respectively). And it shouldn't be possible to have two classes with different pointers. Vegard ------------------------------------------------------------------------------ _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel