harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1338) [logging][test] unnecessary dependency on implementation of j.l.Throwable.toString()
Date Wed, 30 Aug 2006 04:23:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1338?page=all ]

Alexey Varlamov updated HARMONY-1338:
-------------------------------------

    Attachment: harmony-1338-2.patch

Better yet, just to check for thrown.toString() presence. So the later patch supersedes the
first one.

> [logging][test] unnecessary dependency on implementation of j.l.Throwable.toString()
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1338
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1338
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: harmony-1338-2.patch, harmony-1338.patch
>
>
> The org.apache.harmony.logging.tests.java.util.logging.SimpleFormatterTest.testFormat
verifies that if LogRecord has a throwable associated, then localized message of the Throwable
should appear in the formatted string.
> This is overkill, because there is discrepancy between j.l.Throwable.toString() specification
and most implementations [1]. Anyway, this test unnecessarily depends on API contract of j.l.Throwable.getLocalizedMessage().
> [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4298805

-- 
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