[ 
https://issues.apache.org/jira/browse/JAXME-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Wiedmann resolved JAXME-92.
----------------------------------

    Resolution: Won't Fix

This is obviously a matter of programming style and taste. The JavaJS framework 
is following a strict approach, where the user is responsible for passing 
meaningful parameters. Null isn't  a meaningful parameter.

> JavaSource has at least two NPE sources
> ---------------------------------------
>
>                 Key: JAXME-92
>                 URL: https://issues.apache.org/jira/browse/JAXME-92
>             Project: JaxMe
>          Issue Type: Bug
>          Components: JaxMeJS
>    Affects Versions: 0.5
>         Environment: GNU/Linux 2.6.18-3-686
> java-1.5.0-sun-1.5.0.10
>            Reporter: Marcel Patzlaff
>            Priority: Minor
>
> The JavaSource methods "isImplementing(Class pClass)" and "isExtending(Class 
> pClass)" should be protected against NPEs.
> They just have to return null if the requested fields ("myImplements" 
> or"extendedClasses") are null-references.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to