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

fix: graal error for private @Property #8542

Merged
merged 1 commit into from Dec 26, 2022
Merged

fix: graal error for private @Property #8542

merged 1 commit into from Dec 26, 2022

Commits on Dec 26, 2022

  1. fix: graal error for private @Property

    Changes to inject @Property(name = "logger.config") via constructor injection.
    
    Graal 22.3 and Micronaut 3.8.0 was throwing:
    
    ```
    Caused by: java.lang.NoSuchFieldError: No field 'logbackXmlLocation' found for type: io.micronaut.management.endpoint.loggers.impl.LogbackLoggingSystem
    195	at io.micronaut.core.reflect.ReflectionUtils.lambda$getRequiredField$2(ReflectionUtils.java:294)
    196	at java.base@17.0.5/java.util.Optional.orElseThrow(Optional.java:403)
    197	at io.micronaut.core.reflect.ReflectionUtils.getRequiredField(ReflectionUtils.java:294)
    198	at io.micronaut.context.AbstractInitializableBeanDefinition.setFieldWithReflection(AbstractInitializableBeanDefinition.java:979)
    199	... 113 common frames omitted
    ```
    sdelamo committed Dec 26, 2022
    Configuration menu
    Copy the full SHA
    eb999d0 View commit details
    Browse the repository at this point in the history