harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6215) [classlib][beans] java.beans.XMLEncoder.writeExpression(Expression null) should throw NullPointerException
Date Tue, 16 Jun 2009 10:47:07 GMT

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

Tim Ellison resolved HARMONY-6215.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M11
         Assignee: Tim Ellison

Thanks Kevin.

Patch applied to BEANS module at repo revision r785154.

Please check it was applied as you expected.


> [classlib][beans] java.beans.XMLEncoder.writeExpression(Expression null) should throw
NullPointerException
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6215
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6215
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Kevin Zhou
>            Assignee: Tim Ellison
>             Fix For: 5.0M11
>
>         Attachments: HARMONY-6215.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Given a test case [1], RI passes it while HARMONY doesn't. 
> [1] Test Case:
> public void test_XMLEncoder_writeExpression() {
>     XMLEncoder xmlEncoder = new XMLEncoder((OutputStream) null);
>     try {
>         xmlEncoder.writeExpression((Expression) null);
>         fail("should throw NullPointerException");
>     } catch (NullPointerException e) {
>         // Expected
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message