[ 
https://issues.apache.org/jira/browse/MAHOUT-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003291#comment-13003291
 ] 

Sean Owen commented on MAHOUT-618:
----------------------------------

We had made mahout-math require only Java 1.5 simply for broader compatibility. 
It is equally easily possible to remove usages of those offending methods.

However at this stage I am personally comfortable with using Java 6 everywhere 
simply for consistency. But it's worth asking if anyone really needs 1.5 
compatibility?

> 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
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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