Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22415 Upgrade to Java 11
  3. HIVE-21584

Java 11 preparation: system class loader is not URLClassLoader

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        1. HIVE-21584.01.patch
          21 kB
          Zoltan Matyus
        2. HIVE-21584.02.patch
          38 kB
          Zoltan Matyus
        3. HIVE-21584.03.patch
          38 kB
          Zoltan Matyus
        4. HIVE-21584.04.patch
          45 kB
          Zoltan Matyus
        5. HIVE-21584.05.patch
          45 kB
          Zoltan Matyus
        6. HIVE-21584.06.patch
          44 kB
          Zoltan Matyus
        7. HIVE-21584.07.patch
          44 kB
          Zoltan Matyus
        8. HIVE-21584.08.patch
          44 kB
          Zoltan Matyus
        9. HIVE-21584.09.patch
          44 kB
          Zoltan Matyus
        10. HIVE-21584.10.patch
          44 kB
          Zoltan Matyus

        Issue Links

          Activity

            People

              zmatyus Zoltan Matyus
              zmatyus Zoltan Matyus
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: