Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-4296

No build time init of classes used in `UnsafeAccessedFieldBuildItem`

XMLWordPrintable

      Use the Feature classloader instead of the default one to prevent classes being loaded to register fields as unsafe accessed to end up being build time initialized.

      Resolves issues like the one described in https://github.com/quarkusio/quarkus/issues/39819#issuecomment-2031512653

      Note: to better understand what changed use https://github.com/quarkusio/quarkus/pull/39831/files?diff=unified&w=1

              Unassigned Unassigned
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: