You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Kevin Zhou (JIRA)" <ji...@apache.org> on 2009/05/27 09:08:45 UTC

[jira] Created: (HARMONY-6214) [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException

[classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException
---------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-6214
                 URL: https://issues.apache.org/jira/browse/HARMONY-6214
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M9
            Reporter: Kevin Zhou
             Fix For: 5.0M10


Given a test case [1], RI passes it while HARMONY throws a java.lang.IllegalArgumentException [2].

[1] Test Case:
public void test_Constructor_NullInputStream_scenario4() {
    XMLDecoder xmlDecoder = new XMLDecoder(null, null, null, null);
}

[2] Stack Trace:
java.lang.IllegalArgumentException: Input stream cannot be null
at java.beans.XMLDecoder.<init>(XMLDecoder.java:572)


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


[jira] Assigned: (HARMONY-6214) [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException

Posted by "Kevin Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Zhou reassigned HARMONY-6214:
-----------------------------------

    Assignee: Kevin Zhou

> [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6214
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Kevin Zhou
>            Assignee: Kevin Zhou
>             Fix For: 5.0M11
>
>         Attachments: HARMONY-6214.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Given a test case [1], RI passes it while HARMONY throws a java.lang.IllegalArgumentException [2].
> [1] Test Case:
> public void test_Constructor_NullInputStream_scenario4() {
>     XMLDecoder xmlDecoder = new XMLDecoder(null, null, null, null);
> }
> [2] Stack Trace:
> java.lang.IllegalArgumentException: Input stream cannot be null
> at java.beans.XMLDecoder.<init>(XMLDecoder.java:572)

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


[jira] Updated: (HARMONY-6214) [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException

Posted by "Kevin Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Zhou updated HARMONY-6214:
--------------------------------

    Attachment: HARMONY-6214.diff

Would you please help to try it?

> [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6214
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Kevin Zhou
>             Fix For: 5.0M10
>
>         Attachments: HARMONY-6214.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Given a test case [1], RI passes it while HARMONY throws a java.lang.IllegalArgumentException [2].
> [1] Test Case:
> public void test_Constructor_NullInputStream_scenario4() {
>     XMLDecoder xmlDecoder = new XMLDecoder(null, null, null, null);
> }
> [2] Stack Trace:
> java.lang.IllegalArgumentException: Input stream cannot be null
> at java.beans.XMLDecoder.<init>(XMLDecoder.java:572)

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


[jira] Resolved: (HARMONY-6214) [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException

Posted by "Kevin Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Zhou resolved HARMONY-6214.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M11

Patch applied at BEAN module at r789594.

> [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6214
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Kevin Zhou
>             Fix For: 5.0M11
>
>         Attachments: HARMONY-6214.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Given a test case [1], RI passes it while HARMONY throws a java.lang.IllegalArgumentException [2].
> [1] Test Case:
> public void test_Constructor_NullInputStream_scenario4() {
>     XMLDecoder xmlDecoder = new XMLDecoder(null, null, null, null);
> }
> [2] Stack Trace:
> java.lang.IllegalArgumentException: Input stream cannot be null
> at java.beans.XMLDecoder.<init>(XMLDecoder.java:572)

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


[jira] Updated: (HARMONY-6214) [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer updated HARMONY-6214:
----------------------------------

    Fix Version/s:     (was: 5.0M10)

> [classlib][beans] java.beans.XMLDecoder.XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener) should not throw IllegalArgumentException
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6214
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Kevin Zhou
>         Attachments: HARMONY-6214.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Given a test case [1], RI passes it while HARMONY throws a java.lang.IllegalArgumentException [2].
> [1] Test Case:
> public void test_Constructor_NullInputStream_scenario4() {
>     XMLDecoder xmlDecoder = new XMLDecoder(null, null, null, null);
> }
> [2] Stack Trace:
> java.lang.IllegalArgumentException: Input stream cannot be null
> at java.beans.XMLDecoder.<init>(XMLDecoder.java:572)

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