[castleproject/Windsor] 262639: fixed #ioc-332

1 view
Skip to first unread message

GitHub

unread,
May 24, 2012, 3:12:55 AM5/24/12
to castle-proj...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/castleproject/Windsor
Commit: 262639aaea3ea9317da0472d534793e488449b8b
https://github.com/castleproject/Windsor/commit/262639aaea3ea9317da0472d534793e488449b8b
Author: Krzysztof Kozmic <krzy...@kozmic.pl>
Date: 2012-05-24 (Thu, 24 May 2012)

Changed paths:
M Castle.Windsor.sln.DotSettings
M Changes.txt
M src/Castle.Windsor.Tests/Registration/UsingFactoryMethodTestCase.cs
M src/Castle.Windsor/MicroKernel/ComponentActivator/AbstractComponentActivator.cs
M src/Castle.Windsor/MicroKernel/SubSystems/Naming/DefaultNamingSubSystem.cs

Log Message:
-----------
fixed #ioc-332

UsingFactoryMethod resolving a proxy without a target throws NullReferenceException instead of a better exception.

For now just throwing notsupportedexception. I guess we _might_ add support for that scenario but we need to find a compelling case for it first. As it stands right now, I have no idea what a good behavior might be



Reply all
Reply to author
Forward
0 new messages