Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0.1
-
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.