You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Johny Rufus (JIRA)" <ji...@apache.org> on 2014/11/05 17:04:33 UTC

[jira] [Created] (FLUME-2538) TestResettableFileInputStream fails on JDK 8

Johny Rufus created FLUME-2538:
----------------------------------

             Summary: TestResettableFileInputStream fails on JDK 8
                 Key: FLUME-2538
                 URL: https://issues.apache.org/jira/browse/FLUME-2538
             Project: Flume
          Issue Type: Bug
    Affects Versions: v1.5.0.1
            Reporter: Johny Rufus
            Assignee: Johny Rufus
             Fix For: v1.6.0


TestResettableFileInputStream.testUtf8DecodeErrorHandlingReplace fails in JDK 8
"testUtf8DecodeErrorHandlingReplace(org.apache.flume.serialization.TestResettableFileInputStream)  Time elapsed: 6 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...(���)
NonUnicode: (�[])
> but was:<...(���)
NonUnicode: (�[����]) "

Charsetdecoder.decode has changed in its behavior, as to how it handles CodingErrorAction.Replace policy 
Will submit a patch today.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)