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

Jakob Odersky commented on SPARK-13176:
---------------------------------------

A possible workaround would be to filter out warnings in sbt, similar to what 
is done here https://github.com/apache/spark/pull/9128/files. Deprecation 
warnings could either be checked against a "whitelist" or, alternatively, the 
resulting classfiles could be inspected for the presence of some special 
annotations.

Note however that both solutions are a hack and will not work with maven.

> Ignore deprecation warning for ProcessBuilder lines_!
> -----------------------------------------------------
>
>                 Key: SPARK-13176
>                 URL: https://issues.apache.org/jira/browse/SPARK-13176
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>            Reporter: holdenk
>            Priority: Trivial
>
> The replacement,  stream_! & lineStream_! is not present in 2.10 API.
> Note @SupressWarnings for deprecation doesn't appear to work 
> https://issues.scala-lang.org/browse/SI-7934 so suppressing the warnings 
> might involve wrapping or similar.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to