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] Created: (HARMONY-1338) [logging][test] unnecessary dependency on implementation of j.l.Throwable.toString()
Date Tue, 29 Aug 2006 12:17:31 GMT
[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
            Priority: Trivial


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