On 4/18/06, Dmitry M. Kononov (JIRA) <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> IBM Java Technology Centre, UK. --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]