harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2065) [classlib][awt] UnsupportedFlavorException throws unexpected NPE
Date Mon, 11 Dec 2006 14:10:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2065?page=all ]

Andrey Pavlenko updated HARMONY-2065:
-------------------------------------

    Attachment: UnsupportedFlavorException.patch

Attaching a patch.

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

        

Mime
View raw message