harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject Re: [jira] Created: (HARMONY-373) beans: Harmony does not throw NullPointerException in several cases while RI does.
Date Tue, 18 Apr 2006 17:56:10 GMT
On 4/18/06, Dmitry M. Kononov (JIRA) <jira@apache.org> wrote:
> beans: Harmony does not throw NullPointerException in several cases while RI does.
> ----------------------------------------------------------------------------------
>
>          Key: HARMONY-373
>          URL: http://issues.apache.org/jira/browse/HARMONY-373
>      Project: Harmony
>         Type: Bug
>
>   Components: Classlib
>     Reporter: Dmitry M. Kononov
>     Priority: Minor
>
>
> Harmony does not throw NPE as it is described below:
>
> 1) java.beans.beancontext.BeanContextSupport.getResourceAsStream(String name, BeanContextChild
bcc):
> Harmony does not throw NullPointerException when name="",bcc=null, while RI throws it.
> Direct method specification says only "Throws: NullPointerException".
> [SNIP]

Dmitry,

Out of curiosity, how are you discovering these?  I've just uploaded an
updated version of my testing tool to HARMONY-325.  I think it should
find most of the problems you are reporting - see the results file,
harmony.exception.differences-0.02.txt.  It can also generate test
cases.

Sadly it doesn't fix the bugs. ;-)

Regards,
 Mark.

--
Mark Hindess <mark.hindess@googlemail.com>
IBM Java Technology Centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message