Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10137

Component dependency injection should not use reflection

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Final
    • 9.4.12.Final, 10.0.0.Final
    • Core
    • None

      Quarkus allows reflection, but "[t]his is normally achieved by listing every class, method, field and constructor in a JSON file, and passing this as a parameter into the native image build", so it would be much better if we generated code to perform the injection without reflection.

      Because the generated code needs to obey Java's accessibility rules and generating code in the same class is impractical, private fields and methods annotated @Inject will not be supported.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: