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

Deron Eriksson commented on SYSTEMML-866:
-----------------------------------------

It turns out that seqAsJavaList and mapAsScalaMap are available in 2.10. 
Therefore, the current Java code IS compatible with Scala 2.10 and 2.11 (since 
asJavaList was converted to seqAsJavaList and asScalaMap was converted to 
mapAsScalaMap).

cc [~gweidner]


> Update JavaConversions to support Scala 2.10 and 2.11
> -----------------------------------------------------
>
>                 Key: SYSTEMML-866
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-866
>             Project: SystemML
>          Issue Type: Task
>          Components: APIs
>            Reporter: Deron Eriksson
>            Assignee: Deron Eriksson
>
> Currently the default Scala version for the project is 2.11 but we also have 
> a profile for Scala 2.10.
> Currently the project code is 2.11 compatible but not 2.10 compatible.
> I believe the only code changes required from 2.10 to 2.11 were:
> JavaConversions.asJavaList -> JavaConversions.seqAsJavaList
> JavaConversions.asScalaMap -> JavaConversions.mapAsScalaMap
> We should be able to add some reflection to the invocations of these methods 
> so that we can support Scala 2.10 and 2.11 using the same codebase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to