You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/06/16 13:09:07 UTC

[jira] Resolved: (HARMONY-6206) [classlib][beans] java.beans.EventSetDescriptor(String, Class , MethodDescriptor[], Method, Method) throws a NullPointerException while RI doesn't

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

Tim Ellison resolved HARMONY-6206.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M11

Thanks Kevin.

Patch applied to BEANS module at repo revision r785161.

Please check it was applied as expected.


> [classlib][beans] java.beans.EventSetDescriptor(String, Class<?> , MethodDescriptor[], Method, Method) throws a NullPointerException while RI doesn't
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6206
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6206
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Kevin Zhou
>            Assignee: Tim Ellison
>             Fix For: 5.0M11
>
>         Attachments: HARMONY-6206.diff
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Given a test case [1], it throws a java.lang.NullPointerException on HARMONY but successfully creates a EventSetDescriptor object on RI.
> [1] Test Case:
> public void test_EventSetDescriptor_Constructor() throws Exception {
>     EventSetDescriptor eventSetDescriptor = new EventSetDescriptor((String) null, (Class<?>) null, new MethodDescriptor[] { null, null }, (Method) null, (Method) null);
> }
> [2] 
> java.lang.NullPointerException
> at java.beans.EventSetDescriptor.<init>(EventSetDescriptor.java:180)

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