mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Dunning (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAHOUT-618) mahout-math's pom.xml should be configured to compile in Java6
Date Mon, 07 Mar 2011 07:27:59 GMT

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

Ted Dunning commented on MAHOUT-618:
------------------------------------

Looks like a straightforward fix.  My guess is that we didn't see a problem because this got
over-ridden by the parent pom and nobody normally compiles math by itself.

> 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

Mime
View raw message