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

[jira] Resolved: (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:all-tabpanel ]

Mark Hindess resolved HARMONY-2430.
-----------------------------------

    Resolution: Fixed
      Assignee: Mark Hindess

Applied patches in r495758.  Please confirm that they've been applied as expected.


> [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