Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend ReflectiveClassBuildItem to support queryOnly option #42035

Merged

Commits on Jul 23, 2024

  1. Extend ReflectiveClassBuildItem to support queryOnly option

    queryOnly registrations enables us to register only the metadata without
    the actual code, essentially reducing the native executable size.  For
    instance, if some code invokes getDeclaredMethods on a class to see if a
    specific method is available we don't actually need all the methods
    bundled in the native executable, so we could use queryAllMethods
    instead of methods (which will also pull in the code of all methods).
    
    Note that for the time being we only extend it to support
    queryAllDeclaredConstructors and queryAllMethods since we don't have an
    option to register only public methods.
    
    Closes quarkusio#41999
    zakkak committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    082269d View commit details
    Browse the repository at this point in the history