harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1338) [logging][test] unnecessary dependency on implementation of j.l.Throwable.toString()
Date Tue, 19 Sep 2006 06:53:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1338?page=all ]

Paulex Yang closed HARMONY-1338.

Oops, sorry for my carelessness, have been removed at later revision.

Fix verified by Alexey.

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


View raw message