[ http://issues.apache.org/jira/browse/HADOOP-467?page=all ]
Doug Cutting resolved HADOOP-467.
---------------------------------
Fix Version/s: 0.6.0
Resolution: Duplicate
> Building test cases broken on java-1.4, TextTest.java has string creation bug.
> ------------------------------------------------------------------------------
>
> Key: HADOOP-467
> URL: http://issues.apache.org/jira/browse/HADOOP-467
> Project: Hadoop
> Issue Type: Bug
> Affects Versions: 0.5.0
> Environment: 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
> Reporter: woyg
> Priority: Minor
> Fix For: 0.6.0
>
> Attachments: testCasesNotCompilableOnjava1.4.patch
>
>
> *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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira