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-2067) [classlib][awt] Clipboard.setContents(null, null) throws unexpected NPE
Date Fri, 03 Nov 2006 12:27:16 GMT
[classlib][awt] Clipboard.setContents(null, null) throws unexpected NPE
-----------------------------------------------------------------------

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


========= Spec =====
Nothing about NPE

========== Test =============
import java.awt.datatransfer.*;

public class Test {
    public static void main(String[] argv) {
        Clipboard localClipboard = new Clipboard("AAA");
        localClipboard.setContents(null, null);
        System.out.println("passed");
    }
}

======== RI ============
passed

=========== Harmony =======
Uncaught exception in main:
    java.lang.NullPointerException
        at java.awt.datatransfer.Clipboard.setContents(Clipboard.java:68)
        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