[aspectwerkz-dev] [jira] Deleted: (AW-100) Returning null from advice that advises method that returns primitive results in a NPE

"[email protected] (JIRA)" <jira-yCVjj/[email protected]> Fri, 3 Aug 2007 07:06:54 +1000 (EST)
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
     [ http://jira.codehaus.org/browse/AW-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

[email protected] deleted AW-100:
---------------------------------


> Returning null from advice that advises method that returns primitive results in a NPE
> --------------------------------------------------------------------------------------
>
>                 Key: AW-100
>                 URL: http://jira.codehaus.org/browse/AW-100
>             Project: AspectWerkz
>          Issue Type: Bug
>            Reporter: Jonas Boner
>   Original Estimate: 3 hours
>  Remaining Estimate: 3 hours
>
> Returning null from advice that advises method that returns primitive results in a NPE. 
> The preferred solutions is to check for null and return the default value for the return type (wrapped).
> Needs to be verified through a unit test.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email