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-2065) [classlib][awt] UnsupportedFlavorException throws unexpected NPE
Date Fri, 03 Nov 2006 12:12:16 GMT
[classlib][awt] UnsupportedFlavorException throws unexpected NPE
----------------------------------------------------------------

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


========== Spec ============
public UnsupportedFlavorException(DataFlavor flavor)
Constructs an UnsupportedFlavorException. 

Parameters:
flavor - the flavor object which caused the exception. May be null.

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

public class Test {
    public static void main(String[] argv) {
        UnsupportedFlavorException ufe = new UnsupportedFlavorException(null);
        System.out.println("passed");
   }
}

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

====== Harmony =========
Uncaught exception in main:
    java.lang.NullPointerException
        at Test.main(Test.java:5)


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