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

Jakob Odersky commented on SPARK-13171:
---------------------------------------

Thats strange, considering that the underlying code does not change.
scala.concurrent.future:

{code}
def future[T](body: =>T)(implicit @deprecatedName('execctx) executor: 
ExecutionContext): Future[T] = Future[T](body)
{code}

scala.concurrent.Future.apply:

{code}
def apply[T](body: =>T)(implicit @deprecatedName('execctx) executor: 
ExecutionContext): Future[T] = impl.Future(body)
{code}

With which Scala versions does you build fail?

> Update promise & future to Promise and Future as the old ones are deprecated
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-13171
>                 URL: https://issues.apache.org/jira/browse/SPARK-13171
>             Project: Spark
>          Issue Type: Sub-task
>            Reporter: holdenk
>            Assignee: Jakob Odersky
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> We use the promise and future functions on the concurrent object, both of 
> which have been deprecated in 2.11 . The full traits are present in Scala 
> 2.10 as well so this should be a safe migration.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to