harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1604) [classlib][beans] fixes for "try-catch" bugs in some tests
Date Thu, 28 Sep 2006 14:24:51 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1604?page=comments#action_12438446 ] 
Mark Hindess commented on HARMONY-1604:

In that case, would it be reasonable to replace this test with:

  public void testXMLEncoder_Null() throws NullPointerException {
    new XMLEncoder(null);

instead and let ant handle the exception - I think there is a document somewhere that explains
why this style is much better.

> [classlib][beans] fixes for "try-catch" bugs in some tests
> ----------------------------------------------------------
>                 Key: HARMONY-1604
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1604
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: winXP
>            Reporter: Alexei Zakharov
>         Assigned To: Mark Hindess
>            Priority: Trivial
>         Attachments: HY-1604.patch
> Recently Robert Hu has posted the list of possible "try-catch" bugs in Harmony tests
(for details see [1]). After short investigation I found that there are at least three such
bad places (i.e. bugs) in beans tests. The attached patch contains fixes for them. 
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200609.mbox/%3c451A21FC.9050309@gmail.com%3e

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


View raw message