You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/01/29 17:35:49 UTC
[jira] Resolved: (HARMONY-2414) [classlib][logging]Compatibility:
message format of java.util.logging.Logger.log() on Harmony diffes from RI
message
[ https://issues.apache.org/jira/browse/HARMONY-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-2414.
----------------------------------
Resolution: Fixed
Patch applied to LOGGING module at repo revision r501092.
Artem, please check that this resolves the issue.
> [classlib][logging]Compatibility: message format of java.util.logging.Logger.log() on Harmony diffes from RI message
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2414
> URL: https://issues.apache.org/jira/browse/HARMONY-2414
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Artem Aliev
> Assigned To: Tim Ellison
> Attachments: HARMONY-2414.patch
>
>
> J2SE API specifications of java.util.logging.Logger.log() do not define the
> format of reported message.
> But output messages on Harmony and RI have different format:
> The problems may be with the string parsing:
> 1. RI message consists of 2 lines, Harmony message - only 1
> 2. The order of the fields in the output message is different;
> 3. The implementatios use different separator of class and method names:
> RI - ' ' but Harmony - '.'
> Code for reproducing:
> To reproduce this run HT1 test:
> -------------HT1.java------------
> import java.util.logging.*;
> import junit.framework.TestCase;
> public class HT1 extends TestCase {
> public void test001() {
> Logger logger = Logger.getLogger("someName");
> logger.log(Level.INFO, "this is a small test.");
> }
> }
> ------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.