harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2430) [classlib][awt] DropTargetEvent(null) throws IAE while RI throws NPE
Date Mon, 15 Jan 2007 19:26:27 GMT

    [ 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

        

Mime
View raw message