Java Mailing List Archive

http://www.gg3721.com/

Home » the NHibernate development list »

[NHibernate-development] 2bugs,
 2patches for SessionImpl.EnableFilter and Configuration.SetListener

Will Shaver

2008-03-20

Replies: Find Java Web Hosting

Author LoginPost Reply
Two new bugs, with patches. I've reviewed both of these in the Java version as well.
 
Recursive call in Configure.SetListener(type,null) causes stack overflow
http://jira.nhibernate.org:8080/jira/browse/NH-1259
 
Basically the Configure.SetListener calls SetListener with null in the second parameter. There's a second SetListener method that I think is what is intended.
This bug might exist in the Java version. It's been like 10 years since I've actually done any major projects in Java so I could be wrong. (Back when Java Swing was new!)
 
 
SessionImpl.EnableFilter returns wrong filter if already enabled
http://jira.nhibernate.org:8080/jira/browse/NH-1260
 
This bug doesn't existing the java version, as Java's Hashtable class is added to with .put() which will overwrite an existing entry where the dictionary used in the c# version causes an exception when adding an existing item.
 
More details on the bug reports. Patches included.
 -Will
 
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
©2008 gg3721.com - Jax Systems, LLC, U.S.A.