harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2430) [classlib][awt] DropTargetEvent(null) throws IAE while RI throws NPE
Date Mon, 04 Dec 2006 13:42:21 GMT
[classlib][awt] DropTargetEvent(null) throws IAE while RI throws NPE
--------------------------------------------------------------------

                 Key: HARMONY-2430
                 URL: http://issues.apache.org/jira/browse/HARMONY-2430
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Denis Kishenko


============= 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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message