You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2007/01/15 20:26:27 UTC

[jira] Commented: (HARMONY-2430) [classlib][awt] DropTargetEvent(null) throws IAE while RI throws NPE

    [ https://issues.apache.org/jira/browse/HARMONY-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464940 ] 

Andrey Pavlenko commented on HARMONY-2430:
------------------------------------------

Mark, the patches have been applied properly. Thanks.

> [classlib][awt] DropTargetEvent(null) throws IAE while RI throws NPE
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2430
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2430
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Mark Hindess
>         Attachments: DropTargetEvent.patch, DropTargetEventTest.patch
>
>
> ============= Test ===============
> import java.awt.dnd.DropTargetEvent;
> public class Test {
>     public static void main(String[] args) { 
>         new DropTargetEvent(null);
>     }           
> }
> =========== RI ==============
> java.lang.NullPointerException
>     at java.awt.dnd.DropTargetEvent.<init>(DropTargetEvent.java:45)
>     at Test.main(Test.java:6)
> =========== Harmony ========
> Uncaught exception in main:
> java.lang.IllegalArgumentException
>     at Test.main(Test.java:6)

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