[jboss-jira] [JBoss JIRA] Resolved: (JBMICROCONT-387) Don't nullify primitives at unconfigure

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Nov 21 19:29:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBMICROCONT-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list