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

Zoltan Haindrich commented on HIVE-21584:
-----------------------------------------

There was an earlier trial to uncover jdk9 issues: 
https://issues.apache.org/jira/browse/HIVE-17632
around a year ago or so I was also trying to make Hive compile/run with jdk9 
using this branch: 
[https://github.com/apache/hive/compare/master...kgyrtkirk:jdk9-trial] not sure 
if it will contain anything usefull to you..
 I don't see anything wrong - just somewhat different :)
 +1

> Java 11 preparation: system class loader is not URLClassLoader
> --------------------------------------------------------------
>
>                 Key: HIVE-21584
>                 URL: https://issues.apache.org/jira/browse/HIVE-21584
>             Project: Hive
>          Issue Type: Task
>          Components: Hive
>    Affects Versions: 4.0.0
>            Reporter: Zoltan Matyus
>            Assignee: Zoltan Matyus
>            Priority: Major
>         Attachments: HIVE-21584.01.patch, HIVE-21584.02.patch, 
> HIVE-21584.03.patch
>
>
> Currently, Hive assumes that the system class loader is instance of 
> {{URLClassLoader}}. In Java 11 this is not the case. There are a few 
> (unresolved) JIRAs about specific occurrences of {{URLClassLoader}} (e.g. 
> [HIVE-21237|https://issues.apache.org/jira/browse/HIVE-21237], 
> [HIVE-17909|https://issues.apache.org/jira/browse/HIVE-17909]), but no 
> _"remove all occurrences"_. Also I couldn't find umbrella "Java 11 upgrade" 
> JIRA.
> This ticket is to remove all unconditional casts of any random class loader 
> to {{URLClassLoader}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to