Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
0.5.0
-
None
-
None
-
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
rajaram.desktop% Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)RHEL3
Description
*Test Files
— src/test/org/apache/hadoop/io/TestText.java (revision 432549)
— src/test/org/apache/hadoop/mapred/MiniMRCluster.java (revision 432549)
— src/test/org/apache/hadoop/mapred/TestSequenceFileInputFilter.java (revision 432549)
— src/test/org/apache/hadoop/dfs/TestDFSShellGenericOptions.java (revision 432549)
Broken on java-1.4
and a bug in static method getTestString(int len).
This function generates a character with code point equal or smaller then 0xFFFF, and converts this into array of chars of size 2(which should be one) and appened it buffer.
So resulting into a a null character tobe inserted into string after a no null character.
Find Patch attached.
Attachments
Attachments
Issue Links
- duplicates
-
HADOOP-461 Build broken forjava version "1.4.2_09"
- Closed