mahout-math's pom.xml should be configured to compile in Java6
--------------------------------------------------------------

                 Key: MAHOUT-618
                 URL: https://issues.apache.org/jira/browse/MAHOUT-618
             Project: Mahout
          Issue Type: Bug
          Components: Math
            Reporter: Daisuke Miyamoto
         Attachments: mahout-618.patch

Though Mahout requires JDK6, mahout-math's pom.xml contains plugin 
configuration which direct compile for Java5 as following:
{code}
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-compiler-plugin</artifactId>
       <configuration>
         <source>1.5</source>
         <target>1.5</target>
       </configuration>
     </plugin>
{code}

Furthermore RandomWrapper and DistributionChecks uses String#getBytes(Charset) 
and Arrays#copyOf() method.
These methods are not supported in JDK5.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to