harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3850) [classlib] 2 EUT tests from core.runtime suite fail
Date Mon, 04 Jun 2007 18:12:26 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501303
] 

Vasily Zakharov commented on HARMONY-3850:
------------------------------------------

The problem at IContentTypeManagerTest.testContentDescription ocurrs at the following line
(IContentTypeManagerTest.java:447):

assertTrue("2.4d" + sufix, text || IContentDescription.BOM_UTF_16BE == description.getProperty(IContentDescription.BYTE_ORDER_MARK));

Note that IContentDescription.BOM_UTF_16BE is defined as

public final static byte[] BOM_UTF_16BE = {(byte) 0xFE, (byte) 0xFF};

Comparing arrays with == operator seems to be the cause of the problem. However, deeper investigation
is necessary to make sure this is really the cause of the problem and to clarify why the problem
doesn't occur on RI.


> [classlib] 2 EUT tests from core.runtime suite fail
> ---------------------------------------------------
>
>                 Key: HARMONY-3850
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3850
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: George Timoshenko
>
> tests 
>     testContentDescription
>     testRootElementAndDTDDescriber
> fail on DRLVM in OPT JET and interpreter modes.
> And they also fail on J9+Harmony classlib.
> See parent issue for the output example.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message