harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miguel Montes (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2090) [classlib][html] Compatibilty. Difference with the RI in the return value of javax.swing.text.html.parser.AttributeList.toString()
Date Tue, 07 Nov 2006 16:06:51 GMT
[classlib][html] Compatibilty. Difference with the RI in the return value of javax.swing.text.html.parser.AttributeList.toString()
----------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2090
                 URL: http://issues.apache.org/jira/browse/HARMONY-2090
             Project: Harmony
          Issue Type: Bug
            Reporter: Miguel Montes
         Attachments: AttributeList.patch

The method javax.swing.text.html.parser.AttributeList.toString() return value differs from
that of the RI. 

=============Java code================
import java.io.IOException;
import java.util.Vector;
import javax.swing.text.html.parser.*;
public class TestAttributeListToString {
    public static void main(String[] args) throws IOException {
        AttributeList a = new AttributeList(
                "a", DTDConstants.NAME, DTDConstants.REQUIRED, null, new Vector(), null);
        System.out.println(a);
    }
}
=====================================

$ java -showversion TestAttributeListToString
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

a

$ /harmony-hdk-r468731/jdk/jre/bin/java -showversion TestAttributeListToString
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r468731, (Oct 28 2006), Linux/ia32/gcc 3.4.6, release build
http://incubator.apache.org/harmony
AttributeList[name=a, type=7, modifier=2, value=null, values=[], next=null]


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