srowen opened a new pull request #24057: [SPARK-26839][WIP][SQL] Work around 
classloader changes in Java 9 for Hive isolation
URL: https://github.com/apache/spark/pull/24057
 
 
   (Don't merge this yet)
   
   ## What changes were proposed in this pull request?
   
   Java 9+ changed how ClassLoaders work. The two most salient points:
   - The boot classloader no longer 'sees' the platform classes. A new 
'platform classloader' does and should be the parent of new ClassLoaders
   - The system classloader is no longer a URLClassLoader, so we can't get the 
URLs of JARs in its classpath
   
   ## How was this patch tested?
   
   We'll see whether Java 8 tests still pass here. Java 11 tests do not fully 
pass at this point; more notes below. This does make progress on the failures 
though.
   
   (NB: to test with Java 11, you need to build with Java 8 first, setting 
JAVA_HOME and java's executable correctly, then switch both to Java 11 for 
testing.)

----------------------------------------------------------------
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