Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2538

TestResettableFileInputStream fails on JDK 8

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0.1
    • 1.6.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jrufus Johny Rufus
            jrufus Johny Rufus
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment