]
Ales Justin resolved JBMICROCONT-387.
-------------------------------------
Resolution: Done
Don't nullify primitives at unconfigure
---------------------------------------
Key: JBMICROCONT-387
URL:
https://jira.jboss.org/jira/browse/JBMICROCONT-387
Project: JBoss Microcontainer
Issue Type: Task
Components: Kernel
Affects Versions: JBossMC.2.0.0.CR5
Reporter: Ales Justin
Assignee: Ales Justin
Fix For: JBossMC.2.0.0.GA
Ignore nullifying of primitives in PropertyDispatchWrapper.
PropertyInfo propertyInfo = BeanInfoUtil.getPropertyInfo(beanInfo, target, name);
TypeInfo typeInfo = propertyInfo.getType();
if (nullify)
{
if (typeInfo.isPrimitive() == false)
{
try
{
beanInfo.setProperty(target, name, null);
Exception is more costly than this check.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: