Scott M Stark wrote: > This is the issue with generics. I have seen both javac and eclipse with > compiler bugs that allowed unsafe usage of collections. There still > really are no guarentees, only better static analysis of possible > misuse.
There are runtime guarantees if you use java.util.Collections.checkedXxx. -- Christopher G. Stach II ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel