|
From: Michael F. (JIRA) <nh...@gm...> - 2011-02-28 12:49:10
|
Bad code practice. Function SessionFactoryImpl.GetImplementors: if type not found - value from ReflectHelper.ClassForFullName returns through TypeLoadException.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: NH-2551
URL: http://216.121.112.228/browse/NH-2551
Project: NHibernate
Issue Type: Bug
Components: Core
Affects Versions: 3.0.0.GA
Reporter: Michael F.
Priority: Major
Function NHibernate.DLL!NHibernate.Util.ReflectHelper.ClassForFullName(string classFullName) Line 222
NHibernate.DLL!NHibernate.Impl.SessionFactoryImpl.GetImplementors(string className) Line 616
to reproduce in VS2010
1. VS2010: set checkbox in menu Debug->Exceptions->Common language runtime exceptions->Thrown
2. try run standard test from a solution in debug mode:
NHibernate.Test.Linq.ByMethod.AnyTests.AnySublist()
3. System.TypeLoadException will be thrown.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|