dongjoon-hyun opened a new pull request #25738: [SPARK-28939][SQL][FOLLOWUP] 
Fix JDK11 compilation due to ambiguous reference
URL: https://github.com/apache/spark/pull/25738
 
 
   ### What changes were proposed in this pull request?
   
   This PR aims to recover the JDK11 compilation with a workaround.
   For now, the master branch is broken like the following due to a [Scala 
bug](https://github.com/scala/bug/issues/10418).
   ```
   [ERROR] [Error] 
/spark/sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecutionRDD.scala:42:
 ambiguous reference to overloaded definition,
   both method putAll in class Properties of type (x$1: java.util.Map[_, _])Unit
   and  method putAll in class Hashtable of type (x$1: java.util.Map[_ <: 
Object, _ <: Object])Unit
   match argument types (java.util.Map[String,String])
   ```
   
   ### Why are the changes needed?
   
   This workaround recovers JDK11 compilation.
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Manual build with JDK11 because this is JDK11 compilation fix.
   - Jenkins builds with JDK8 and tests with JDK11.
   - GitHub action will verify this after merging.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to