zhfeng commented on issue #24728:
URL: 
https://github.com/apache/shardingsphere/issues/24728#issuecomment-1478845304

   @RaigorJiang yeah, I can use `@Substitute` in GraalVM and it could re-write 
these codes during the native building. Because I need to exclude 
`ch.qos.logback`, there are some issue with 
`DefaultLoggingRuleConfigurationBuilder` during the static analysis.
   
   ```java
   @TargetClass(YamlLoggingRuleConfigurationSwapper.class)
   final class YamlLoggingRuleConfigurationSwapperSubstitution {
       @Substitute
       private LoggingRuleConfiguration getDefaultLoggingRuleConfiguration() {
           return new JBossLoggingRuleConfigurationBuilder().build();
       }
   }
   ```
   Then it only impacts the native image.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to