Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2505

Weld fails under Java 11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Blocker
    • None
    • None
    • None

    Description

      This is a follow-up to an email discussion between manovotn and myself (and a few others). The WildFly test suite fails under Java 11 because of Weld's usage of Unsafe.defineClass, which was removed in Java 11. Previously MODULES-360 was created to provide an alternative approach. Additionally, it is possible to use reflection to directly invoke ClassLoader.defineClass(*) if Unsafe is used to make the Method be accessible.

      This problem blocks testing of WildFly on Java 11.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: