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/15 21:34:28 UTC

[jira] Closed: (HARMONY-2065) [classlib][awt] UnsupportedFlavorException throws unexpected NPE

     [ https://issues.apache.org/jira/browse/HARMONY-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess closed HARMONY-2065.
---------------------------------


Verified.  Thanks.

> [classlib][awt] UnsupportedFlavorException throws unexpected NPE
> ----------------------------------------------------------------
>
>                 Key: HARMONY-2065
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2065
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Mark Hindess
>         Attachments: UnsupportedFlavorException.patch, UnsupportedFlavorExceptionTest.patch
>
>
> ========== 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira