GitHub user dbtsai opened a pull request: https://github.com/apache/spark/pull/22246
[SPARK-25235] [SHELL] Merge the REPL code in Scala 2.11 and 2.12 branches ## What changes were proposed in this pull request? Using some reflection tricks to merge Scala 2.11 and 2.12 codebase. ## How was this patch tested? Existing tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dbtsai/spark repl Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22246.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22246 ---- commit 8669c21e1dc97e660a13b1cad598d1dbe8e44731 Author: DB Tsai <d_tsai@...> Date: 2018-08-24T00:39:07Z Consolidated Scala 2.11 and 2.12 branches commit 3808f02fdc2d914f7a022d00884034d8d8ceb19f Author: Liang-Chi Hsieh <viirya@...> Date: 2018-08-27T11:26:29Z Get static loader object and invoke method on it. commit 075ca4a0c25503e4df4bc880f6ea58ead2eabcbe Author: DB Tsai <d_tsai@...> Date: 2018-08-27T17:54:50Z Changed message ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org