apache / apache/incubator-seata

after call "EnhancedServiceLoader.unload" method,cann`t call "load" method again

Open
#5,319 2 comments 0 reactions 1 assignee Claimed by @MentosL View on GitHub
type: bug
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

### Ⅰ. Issue Description

after call `EnhancedServiceLoader.unload(Class service, String activateName)` method,cann`t call "load" method again.

调用`EnhancedServiceLoader.unload(Class service, String activateName)`方法后,不能再次调用“load”方法

![image](https://user-images.githubusercontent.com/20177090/217569602-17c7df1c-e797-44dc-8c96-5280d8dcdf44.png)

### Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

```
Just paste your stack trace here!
```

### Ⅲ. Describe what you expected to happen

### Ⅳ. How to reproduce it (as minimally and precisely as possible)

1. xxx
2. xxx
3. xxx

### Ⅴ. Anything else we need to know?

### Ⅵ. Environment:

- JDK version :
- Seata version:
- OS :
- Others:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.