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 Wed, 13 Jun 2007 02:15:26 GMT

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

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

Issue 1 investigated. The problem is in InputStream that handles UTF-16 encoding differently
than RI. At the following point BOM_UTF_16LE is returned instead of BOM_UTF_16BE because incorrect
bytes are read from the stream:

	at org.eclipse.core.internal.content.TextContentDescriber.getByteOrderMark(TextContentDescriber.java:65)
	at org.eclipse.core.internal.content.XMLContentDescriber.describe(XMLContentDescriber.java:35)
	at org.eclipse.core.internal.content.ContentType.describe(ContentType.java:161)
	at org.eclipse.core.internal.content.ContentType.internalGetDescriptionFor(ContentType.java:459)
	at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:314)
	at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:319)
	at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:86)
	at org.eclipse.core.tests.runtime.content.IContentTypeManagerTest.getDescriptionFor(IContentTypeManagerTest.java:101)
	at org.eclipse.core.tests.runtime.content.IContentTypeManagerTest.testContentDescription(IContentTypeManagerTest.java:442)

Issue HARMONY-4135 is filed for this problem.


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