You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "TeslaCN (via GitHub)" <gi...@apache.org> on 2023/03/02 07:27:23 UTC

[GitHub] [shardingsphere] TeslaCN commented on issue #24415: java.lang.IllegalStateException: Recursive update caused by #24251

TeslaCN commented on issue #24415:
URL: https://github.com/apache/shardingsphere/issues/24415#issuecomment-1451411106

   I found a way to reproduce this issue.
   
   Make the following changes and run tests.
   ```java
    public final class ShardingSphereServiceLoader<T> {
        
   -    private static final Map<Class<?>, ShardingSphereServiceLoader<?>> LOADERS = new ConcurrentHashMap<>();
   +    private static final Map<Class<?>, ShardingSphereServiceLoader<?>> LOADERS = new ConcurrentHashMap<>(1, 10f);
        
        private final Class<T> serviceInterface;
   ```


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org