You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Matyus (JIRA)" <ji...@apache.org> on 2019/04/05 12:42:00 UTC

[jira] [Created] (HIVE-21584) Java 11 preparation: system class loader is not URLClassLoader

Zoltan Matyus created HIVE-21584:
------------------------------------

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


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)